org.granite.generator.as3.reflect
Class JavaFieldProperty
java.lang.Object
org.granite.generator.as3.reflect.JavaMember<Field>
org.granite.generator.as3.reflect.JavaFieldProperty
- All Implemented Interfaces:
- Comparable<JavaProperty>, ClientTyped, JavaProperty
public class JavaFieldProperty
- extends JavaMember<Field>
- implements JavaProperty
- Author:
- Franck WOLFF
JavaFieldProperty
public JavaFieldProperty(JavaTypeFactory provider,
Field field,
JavaMethod readMethod,
JavaMethod writeMethod)
JavaFieldProperty
public JavaFieldProperty(JavaTypeFactory provider,
Field field,
JavaMethod readMethod,
JavaMethod writeMethod,
ParameterizedType declaringType)
getCapitalizedName
public String getCapitalizedName()
- Specified by:
getCapitalizedName in interface JavaProperty
getType
public Class<?> getType()
- Specified by:
getType in interface JavaProperty
getGenericType
public Type getGenericType()
getGenericTypes
public Type[] getGenericTypes()
- Specified by:
getGenericTypes in interface JavaProperty
hasTypePackage
public boolean hasTypePackage()
getTypePackageName
public String getTypePackageName()
getTypeName
public 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(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresent in interface JavaProperty
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
- Specified by:
getAnnotation in interface JavaProperty
getDeclaredAnnotations
public 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 ClientType getAs3Type()
getClientType
public ClientType getClientType()
- Specified by:
getClientType in interface ClientTyped
compareTo
public int compareTo(JavaProperty o)
- Specified by:
compareTo in interface Comparable<JavaProperty>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object