Class FieldImpl

    • Method Detail

      • setType

        public void setType​(java.lang.String qcname)
        Specified by:
        setType in interface MField
      • setUnqualifiedType

        public void setUnqualifiedType​(java.lang.String ucname)
        Specified by:
        setUnqualifiedType in interface MField
      • getType

        public JClass getType()
        Description copied from interface: JField
        Returns the type of this field.
        Specified by:
        getType in interface JField
      • isFinal

        public boolean isFinal()
        Description copied from interface: JField
        Return true if this field is final.
        Specified by:
        isFinal in interface JField
      • isStatic

        public boolean isStatic()
        Description copied from interface: JField
        Return true if this field is static.
        Specified by:
        isStatic in interface JField
      • isVolatile

        public boolean isVolatile()
        Description copied from interface: JField
        Return true if this field is volatile.
        Specified by:
        isVolatile in interface JField
      • isTransient

        public boolean isTransient()
        Description copied from interface: JField
        Return true if this field is transient.
        Specified by:
        isTransient in interface JField
      • accept

        public void accept​(JVisitor visitor)
        Description copied from interface: JElement

        Accepts the given visitor.

        Specified by:
        accept in interface JElement
      • getQualifiedName

        public java.lang.String getQualifiedName()
        Description copied from interface: JField

        Returns a qualied name for this method as specified by java.lang.reflect.Field.toString():

        Returns a string describing this Field. The format is the access modifiers for the field, if any, followed by the field type, followed by a space, followed by the fully-qualified name of the class declaring the field, followed by a period, followed by the name of the field. For example:

        public static final int java.lang.Thread.MIN_PRIORITY

        private int java.io.FileDescriptor.fd

        The modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, protected or private first, and then other modifiers in the following order: static, final, transient, volatile.

        Specified by:
        getQualifiedName in interface JElement
        Specified by:
        getQualifiedName in interface JField