org.granite.generator.as3.reflect
Class JavaAbstractType
java.lang.Object
org.granite.generator.as3.reflect.JavaAbstractType
- All Implemented Interfaces:
- As3Typed, JavaType
- Direct Known Subclasses:
- JavaBean, JavaEnum, JavaImport, JavaInterface, JavaRemoteDestination
public abstract class JavaAbstractType
- extends java.lang.Object
- implements JavaType
- Author:
- Franck WOLFF
| Nested classes/interfaces inherited from interface org.granite.generator.as3.reflect.JavaType |
JavaType.Kind |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
provider
protected final JavaTypeFactory provider
type
protected final java.lang.Class<?> type
url
protected final java.net.URL url
as3Type
protected final As3Type as3Type
kind
protected final JavaType.Kind kind
generationType
protected final JavaAbstractType.GenerationType generationType
JavaAbstractType
protected JavaAbstractType(JavaTypeFactory provider,
java.lang.Class<?> type,
java.net.URL url)
getProvider
protected JavaTypeFactory getProvider()
getType
public java.lang.Class<?> getType()
- Specified by:
getType in interface JavaType
getName
public java.lang.String getName()
- Specified by:
getName in interface JavaType
getPackage
public java.lang.Package getPackage()
- Specified by:
getPackage in interface JavaType
getPackageName
public java.lang.String getPackageName()
- Specified by:
getPackageName in interface JavaType
getQualifiedName
public java.lang.String getQualifiedName()
getUrl
public java.net.URL getUrl()
- Specified by:
getUrl in interface JavaType
isBean
public boolean isBean()
- Specified by:
isBean in interface JavaType
isEntity
public boolean isEntity()
- Specified by:
isEntity in interface JavaType
isEnum
public boolean isEnum()
- Specified by:
isEnum in interface JavaType
isInterface
public boolean isInterface()
- Specified by:
isInterface in interface JavaType
isRemoteDestination
public boolean isRemoteDestination()
- Specified by:
isRemoteDestination in interface JavaType
isGenerated
public boolean isGenerated()
- Specified by:
isGenerated in interface JavaType
isWithBase
public boolean isWithBase()
- Specified by:
isWithBase in interface JavaType
getGenerationType
public JavaAbstractType.GenerationType getGenerationType()
- Specified by:
getGenerationType in interface JavaType
getKind
public JavaType.Kind getKind()
- Specified by:
getKind in interface JavaType
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface JavaType
getAs3Type
public As3Type getAs3Type()
- Specified by:
getAs3Type in interface As3Typed
removeNull
protected <T extends java.util.Collection<?>> T removeNull(T coll)
getPropertyDescriptors
protected java.beans.PropertyDescriptor[] getPropertyDescriptors(java.lang.Class<?> type)
getSortedUnmodifiableList
protected java.util.List<JavaProperty> getSortedUnmodifiableList(java.util.Collection<JavaProperty> coll)