xjavadoc

Class BinaryClass

final class BinaryClass extends AbstractClass

Describe what this class does

Author: Ara Abrahamian Aslak Hellesxy

UNKNOWN: 20. mars 2003

Field Summary
static intinstanceCount
Class_clazz
boolean_isInterfacesSet
boolean_isSuperclassSet
static List_primitiveTypes
Constructor Summary
BinaryClass(XJavaDoc xJavaDoc, Class clazz)
Method Summary
static intgetDimension(Class c)
ListgetInterfaces()
XClassgetSuperclass()
static StringgetTypeName(Class c)
booleanisClassImplementingInterface(Class cur_class, String full_qualified_type_name, boolean superclasses)
booleanisImplementingInterface(String full_qualified_type_name, boolean superclasses)
booleanisPrimitive()
booleanisSubclassOf(String full_qualified_type_name, boolean superclasses)
booleanisWriteable()
whether this class is writeable an can be save ( it can not )
voidpopulateExecutableMember(AbstractExecutableMember executableMember, AccessibleObject accessibleObject)
booleansaveNeeded()
this class is not intended to be saved
voidsetConstructors(Class clazz)
Discovers constructors.
voidsetDirty()
no op since we do not save binary classes
voidsetInterfacesMaybe()
voidsetMethods(Class clazz)
Discovers constructors.
voidsetSuperclassMaybe()

Field Detail

instanceCount

public static int instanceCount

_clazz

private final Class _clazz

_isInterfacesSet

private boolean _isInterfacesSet

_isSuperclassSet

private boolean _isSuperclassSet

_primitiveTypes

private static final List _primitiveTypes

Constructor Detail

BinaryClass

public BinaryClass(XJavaDoc xJavaDoc, Class clazz)

Method Detail

getDimension

private static int getDimension(Class c)

getInterfaces

public List getInterfaces()

getSuperclass

public XClass getSuperclass()

getTypeName

private static String getTypeName(Class c)

isClassImplementingInterface

private boolean isClassImplementingInterface(Class cur_class, String full_qualified_type_name, boolean superclasses)

isImplementingInterface

public boolean isImplementingInterface(String full_qualified_type_name, boolean superclasses)

isPrimitive

public boolean isPrimitive()

isSubclassOf

public boolean isSubclassOf(String full_qualified_type_name, boolean superclasses)

isWriteable

public boolean isWriteable()
whether this class is writeable an can be save ( it can not )

Returns: false since this class can not be mutated or saved

populateExecutableMember

private void populateExecutableMember(AbstractExecutableMember executableMember, AccessibleObject accessibleObject)

saveNeeded

public boolean saveNeeded()
this class is not intended to be saved

Returns: always false

setConstructors

private void setConstructors(Class clazz)
Discovers constructors. This method is currently never called

Parameters: clazz

setDirty

public void setDirty()
no op since we do not save binary classes

setInterfacesMaybe

private void setInterfacesMaybe()

setMethods

private void setMethods(Class clazz)
Discovers constructors. This method is currently never called

Parameters: clazz

setSuperclassMaybe

private void setSuperclassMaybe()