public class ClassDescriptorImpl extends Object implements TypeInstance, Serializable
TypeInstance
interface.InstanceIdAccessor.InstanceIdMutator, InstanceIdAccessor.InstanceIdProperty
Constructor and Description |
---|
ClassDescriptorImpl()
Creates a new ClassDescriptor object.
|
ClassDescriptorImpl(Class<?> aClass,
String aInstanceId)
Constructs a
TypeInstance instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
clear()
Same as
Clearable.clear() . |
String |
getInstanceId()
Retrieves the instance ID from the instance ID property.
|
Class<?> |
getType() |
protected void |
setClass(Class<?> type) |
protected void |
setClassDescriptor(TypeInstance classDescriptor) |
protected void |
setInstanceId(String instanceId) |
String |
toString() |
public ClassDescriptorImpl()
public ClassDescriptorImpl(Class<?> aClass, String aInstanceId)
TypeInstance
instance.aClass
- The class for the subject in question.aInstanceId
- The instance ID of the subject in question.public String getInstanceId()
InstanceIdAccessor
getInstanceId
in interface InstanceIdAccessor
public Class<?> getType()
getType
in interface org.refcodes.mixin.TypeAccessor
protected void setClass(Class<?> type)
type
- Description is currently not available!protected void setClassDescriptor(TypeInstance classDescriptor)
classDescriptor
- Description is currently not available!protected void setInstanceId(String instanceId)
instanceId
- Description is currently not available!protected void clear()
Clearable.clear()
.Copyright © 2016. All rights reserved.