The IJavaClass interface represents a Java class, interface, or delegate.
IJavaClass : IJavaSourceElement
This interface defines the following members.
Member | Description |
AddField | Adds a field class member. |
AddMethod | Adds a method class member. |
CanOverride | Indicates whether the class can override the given method. |
FullName | Represents the fully qualified name of the class. |
GetBlockRange | Returns the range of text containing the class. |
GetBodyRange | Returns the text range containing the class's body. |
GetNameRange | Returns the starting position and length of the range of text containing the class's name. |
Initializers | A collection of the initializers declared within the class. |
InnerClasses | A collection of the inner classes declared within the class. |
Interfaces | A collection of the interfaces that the class implements. |
IsClass | Indicates whether the IJavaClass object represents a class. |
IsDelegate | Indicates whether the IJavaClass object represents a delegate. |
IsInterface | Indicates whether the IJavaClass object represents an interface. |
IsSubclassOf | Traverses the superclass chain and compares the superclasses' names with the given string. |
Members | A collection of the members of the class, both fields and methods. |
Modifiers | Provides access to the class's modifiers. |
Name | Represents the simple name of the class. |
OverrideMethod | Inserts a method declaration and code stub for the given method. |
Package | A reference to the package that contains the class. |
RemoveMember | Removes a class member. |
Superclass | Provides access to the IJavaClass object representing the class's superclass. |
Subclasses | A collection of all classes that inherit from this class. |
SuperclassName | Provides access to the name of the class's superclass. |