| spoon.reflect.declaration.CtType
CtType | public interface CtType extends CtSimpleType<T>,CtGenericElement(Code) | | This abstract element defines a super-type for classes and interfaces, which
can declare methods.
|
getAllMethods | Set<CtMethod<?>> getAllMethods()(Code) | | Return all the accessible methods for this type (the recursion stops when
the super-type is not in the model).
|
getMethods | Set<CtMethod<?>> getMethods()(Code) | | Returns the methods that are directly declared by this class or
interface.
|
getSuperInterfaces | Set<CtTypeReference<?>> getSuperInterfaces()(Code) | | Returns the interface types directly implemented by this class or
extended by this interface.
|
isSubtypeOf | boolean isSubtypeOf(CtTypeReference> type)(Code) | | Tells if this type is a subtype of the given type.
|
setMethods | void setMethods(Set<CtMethod<?>> methods)(Code) | | Sets the methods of this type.
|
setSuperInterfaces | void setSuperInterfaces(Set<CtTypeReference<?>> interfaces)(Code) | | Sets the super interfaces of this type.
|
|
|