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.StringfielddescThe field descriptor.protected java.lang.StringfieldnameThe field name.-
Fields inherited from class jadex.commons.SClassReader.AnnotatedEntity
accessflags, annotations
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFieldInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFieldDescriptor()Get the field descriptor.java.lang.StringgetFieldName()Get the field name.booleanisEnum()Tests if field is an enum.booleanisTransient()Tests if field is transient.booleanisVolatile()Tests if field is volatile.protected voidsetFieldDescriptor(java.lang.String fielddesc)Set the field descriptor.protected voidsetFieldName(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
-
-