public class ClassField
extends java.lang.Object
Constructor and Description |
---|
ClassField(StringValue name,
java.lang.String declaringClassName,
Expr initValue,
FieldVisibility visibility,
java.lang.String comment,
boolean isTraitField) |
ClassField(StringValue name,
StringValue canonicalName,
java.lang.String declaringClassName,
Expr initValue,
java.lang.String comment,
boolean isTraitField) |
public ClassField(StringValue name, StringValue canonicalName, java.lang.String declaringClassName, Expr initValue, java.lang.String comment, boolean isTraitField)
public ClassField(StringValue name, java.lang.String declaringClassName, Expr initValue, FieldVisibility visibility, java.lang.String comment, boolean isTraitField)
public static StringValue getOrdinaryName(StringValue canonicalName)
public static StringValue getCanonicalName(Env env, java.lang.String classContext, StringValue name)
public static StringValue createProtectedCanonicalName(StringValue sb, StringValue name)
public static StringValue createPrivateCanonicalName(StringValue name, java.lang.String declaringClass)
public static StringValue createPrivateCanonicalName(StringValue sb, StringValue name, java.lang.String declaringClass)
public static boolean isPublic(StringValue canonicalName)
public static boolean isPrivate(StringValue canonicalName)
public static boolean isProtected(StringValue canonicalName)
public static StringValue getDeclaringClass(StringValue sb, StringValue canonicalName)
public java.lang.String getDeclaringClassName()
public StringValue getName()
public StringValue getCanonicalName()
public Expr getInitExpr()
public void setInitExpr(Expr initValue)
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public boolean isTraitField()
public java.lang.String getComment()
public java.lang.String toString()
toString
in class java.lang.Object