Package jadex.commons
Class SClassReader.FieldInfo
- java.lang.Object
-
- jadex.commons.SClassReader.AnnotatedEntity
-
- jadex.commons.SClassReader.ClassEntity
-
- jadex.commons.SClassReader.FieldInfo
-
- Enclosing class:
- SClassReader
public static class SClassReader.FieldInfo extends SClassReader.ClassEntity
Info object describing a field.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
fielddesc
The field descriptor.protected java.lang.String
fieldname
The field name.-
Fields inherited from class jadex.commons.SClassReader.AnnotatedEntity
accessflags, annotations
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FieldInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFieldDescriptor()
Get the field descriptor.java.lang.String
getFieldName()
Get the field name.boolean
isEnum()
Tests if field is an enum.boolean
isTransient()
Tests if field is transient.boolean
isVolatile()
Tests if field is volatile.protected void
setFieldDescriptor(java.lang.String fielddesc)
Set the field descriptor.protected void
setFieldName(java.lang.String fieldname)
Set the field name.-
Methods inherited from class jadex.commons.SClassReader.ClassEntity
isPrivate, isProtected, isStatic
-
Methods inherited from class jadex.commons.SClassReader.AnnotatedEntity
getAccessFlags, getAnnotation, getAnnotations, hasAnnotation, isFinal, isPublic, isSynthetic, setAccessFlags, setAnnotations
-
-
-
-
Method Detail
-
getFieldName
public java.lang.String getFieldName()
Get the field name.- Returns:
- the field name.
-
getFieldDescriptor
public java.lang.String getFieldDescriptor()
Get the field descriptor.- Returns:
- the field descriptor.
-
isVolatile
public boolean isVolatile()
Tests if field is volatile.- Returns:
- True, if volatile.
-
isTransient
public boolean isTransient()
Tests if field is transient.- Returns:
- True, if transient.
-
isEnum
public boolean isEnum()
Tests if field is an enum.- Returns:
- True, if an enum.
-
setFieldName
protected void setFieldName(java.lang.String fieldname)
Set the field name.- Parameters:
fieldname
- the field name to set
-
setFieldDescriptor
protected void setFieldDescriptor(java.lang.String fielddesc)
Set the field descriptor.- Parameters:
fielddesc
- the field descriptor to set
-
-