|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Extendable<O extends JavaSource<O>>
Represents a JavaSource that can extend other types. (Java inheritance and interfaces.)
| Method Summary | |
|---|---|
String |
getSuperType()
Get this type's super class. |
O |
setSuperType(Class<?> type)
Set this type's super class. |
O |
setSuperType(O type)
Set this type's super class. |
O |
setSuperType(String type)
Set this type's super class. |
| Method Detail |
|---|
String getSuperType()
setSuperType(String)O setSuperType(O type)
setSuperType(String)O setSuperType(Class<?> type)
setSuperType(String)O setSuperType(String type)
For example:
In the case of " public class Foo extends Bar {}" - Foo is the base type, and
Bar is the super class.)
Attempt to add an import statement to this object's O if required. (Note that the given className must be
fully-qualified in order to properly import required classes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||