public class CodeTypeDeclaration extends CodeTypeMember
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.CodeTypeDeclaration
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.CodeDom, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.CodeDom
|
static java.lang.String |
className
Qualified class name: System.CodeDom.CodeTypeDeclaration
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CodeTypeDeclaration() |
CodeTypeDeclaration(java.lang.Object instance)
Internal constructor.
|
CodeTypeDeclaration(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPopulateBaseTypes(EventHandler handler) |
void |
addPopulateMembers(EventHandler handler) |
static CodeTypeDeclaration |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CodeTypeDeclaration, a cast assert is made to check if types are compatible. |
CodeTypeReferenceCollection |
getBaseTypes() |
boolean |
getIsClass() |
boolean |
getIsEnum() |
boolean |
getIsInterface() |
boolean |
getIsPartial() |
boolean |
getIsStruct() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
CodeTypeMemberCollection |
getMembers() |
TypeAttributes |
getTypeAttributes() |
CodeTypeParameterCollection |
getTypeParameters() |
void |
removePopulateBaseTypes(EventHandler handler) |
void |
removePopulateMembers(EventHandler handler) |
void |
setIsClass(boolean IsClass) |
void |
setIsEnum(boolean IsEnum) |
void |
setIsInterface(boolean IsInterface) |
void |
setIsPartial(boolean IsPartial) |
void |
setIsStruct(boolean IsStruct) |
void |
setJCOInstance(JCObject instance) |
void |
setTypeAttributes(TypeAttributes TypeAttributes) |
getAttributes, getComments, getCustomAttributes, getEndDirectives, getLinePragma, getName, getStartDirectives, setAttributes, setCustomAttributes, setLinePragma, setNamegetUserDatapublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CodeTypeDeclaration()
throws java.lang.Throwable
java.lang.Throwablepublic CodeTypeDeclaration(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic CodeTypeDeclaration(java.lang.String name)
throws java.lang.Throwable
java.lang.Throwablepublic void addPopulateBaseTypes(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addPopulateMembers(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static CodeTypeDeclaration cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CodeTypeDeclaration, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCodeTypeDeclaration instancejava.lang.Throwable - in case of error during cast operationpublic CodeTypeReferenceCollection getBaseTypes() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsClass()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEnum()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsInterface()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsPartial()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsStruct()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CodeTypeMemberString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CodeTypeMemberString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CodeTypeMemberObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CodeTypeMemberString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CodeTypeMemberJCType representing the CLR Type of the instantiated Classpublic CodeTypeMemberCollection getMembers() throws java.lang.Throwable
java.lang.Throwablepublic TypeAttributes getTypeAttributes() throws java.lang.Throwable
java.lang.Throwablepublic CodeTypeParameterCollection getTypeParameters() throws java.lang.Throwable
java.lang.Throwablepublic void removePopulateBaseTypes(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removePopulateMembers(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setIsClass(boolean IsClass)
throws java.lang.Throwable
java.lang.Throwablepublic void setIsEnum(boolean IsEnum)
throws java.lang.Throwable
java.lang.Throwablepublic void setIsInterface(boolean IsInterface)
throws java.lang.Throwable
java.lang.Throwablepublic void setIsPartial(boolean IsPartial)
throws java.lang.Throwable
java.lang.Throwablepublic void setIsStruct(boolean IsStruct)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class CodeTypeMemberpublic void setTypeAttributes(TypeAttributes TypeAttributes) throws java.lang.Throwable
java.lang.Throwable