public interface Interface extends TypeDeclaration
Declaration subinterface for interfaces.Access.AccessType| Modifier and Type | Method and Description | 
|---|---|
Interface | 
addExtends(String type)
Adds the given string to the list of extends clauses and returns the
  
Interface. | 
List<String> | 
getExtends()
Gets the list of extends clauses as an list of  
String. | 
Constant | 
newConstant(String name,
           int value)
Adds a new int constant to this interface with the given name and value. 
 | 
Constant | 
newConstant(Type type,
           String name)
Adds a new constant to this interface. 
 | 
AbstractMethod | 
newMethod(String name)
Creates a new abstract void method signature to this interface. 
 | 
AbstractMethod | 
newMethod(Type type,
         String name)
Adds a new abstract method signature to this interface. 
 | 
boolean | 
removeExtends(String className)
Removes the given string to the list of extends clauses and returns if
 the interface was present. 
 | 
asClassType, getMembers, getUnit, removeMember, setComparatoraddAnnotation, addAnnotation, getAnnotations, getName, isFinal, isFinal, isStatic, isStatic, setNamejavadocapplyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmInterface addExtends(String type)
Interface.Constant newConstant(String name, int value)
AbstractMethod newMethod(String name)
newMethod in interface TypeDeclarationAbstractMethod newMethod(Type type, String name)
newMethod in interface TypeDeclarationboolean removeExtends(String className)
Copyright © 2000–2018 jenesis4java. All rights reserved.