org.granite.generator.as3.reflect
Class JavaFieldProperty
java.lang.Object
org.granite.generator.as3.reflect.JavaMember<java.lang.reflect.Field>
org.granite.generator.as3.reflect.JavaFieldProperty
- All Implemented Interfaces:
- java.lang.Comparable<JavaProperty>, As3Typed, JavaProperty
public class JavaFieldProperty
- extends JavaMember<java.lang.reflect.Field>
- implements JavaProperty
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JavaFieldProperty
public JavaFieldProperty(JavaTypeFactory provider,
java.lang.reflect.Field field,
JavaMethod readMethod,
JavaMethod writeMethod)
getType
public java.lang.Class<?> getType()
- Specified by:
getType in interface JavaProperty
getGenericTypes
public java.lang.reflect.Type[] getGenericTypes()
- Specified by:
getGenericTypes in interface JavaProperty
hasTypePackage
public boolean hasTypePackage()
getTypePackageName
public java.lang.String getTypePackageName()
getTypeName
public java.lang.String getTypeName()
isReadable
public boolean isReadable()
- Specified by:
isReadable in interface JavaProperty
isWritable
public boolean isWritable()
- Specified by:
isWritable in interface JavaProperty
isExternalizedProperty
public boolean isExternalizedProperty()
- Specified by:
isExternalizedProperty in interface JavaProperty
isEnum
public boolean isEnum()
- Specified by:
isEnum in interface JavaProperty
isAnnotationPresent
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
- Specified by:
isAnnotationPresent in interface JavaProperty
getAnnotation
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
- Specified by:
getAnnotation in interface JavaProperty
getDeclaredAnnotations
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations in interface JavaProperty
isReadOverride
public boolean isReadOverride()
- Specified by:
isReadOverride in interface JavaProperty
isWriteOverride
public boolean isWriteOverride()
- Specified by:
isWriteOverride in interface JavaProperty
getReadMethod
public JavaMethod getReadMethod()
- Specified by:
getReadMethod in interface JavaProperty
getWriteMethod
public JavaMethod getWriteMethod()
- Specified by:
getWriteMethod in interface JavaProperty
getAs3Type
public As3Type getAs3Type()
- Specified by:
getAs3Type in interface As3Typed
compareTo
public int compareTo(JavaProperty o)
- Specified by:
compareTo in interface java.lang.Comparable<JavaProperty>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object