org.granite.generator.as3.reflect
Class JavaMethodProperty
java.lang.Object
org.granite.generator.as3.reflect.JavaMethodProperty
- All Implemented Interfaces:
- Comparable<JavaProperty>, ClientTyped, JavaProperty
public class JavaMethodProperty
- extends Object
- implements JavaProperty
- Author:
- Franck WOLFF
JavaMethodProperty
public JavaMethodProperty(JavaTypeFactory provider,
String name,
JavaMethod readMethod,
JavaMethod writeMethod)
JavaMethodProperty
public JavaMethodProperty(JavaTypeFactory provider,
String name,
JavaMethod readMethod,
JavaMethod writeMethod,
ParameterizedType declaringType)
getAccess
public String getAccess()
getName
public String getName()
- Specified by:
getName in interface JavaProperty
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
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