com.borland.jbuilder.jot
Interface JotAnonymousClass

All Superinterfaces:
JotClass, JotClassSource, JotCommentable, JotInnerClass, JotMarker

public interface JotAnonymousClass
extends JotInnerClass

This interface represents an anonymous class. For more information about inner classes, see the Inner Classes Specification.


Method Summary
 JotType addInterface(JotMarker marker, boolean before, java.lang.String interfaceName)
          Does nothing.
 JotType[] getInterfaces()
          Does nothing.
 JotType getSuperclass()
          Returns the superclass or interface of this anonymous class.
 void removeInterface(JotType iface)
          Does nothing.
 void setModifiers(int modifiers)
          Does nothing.
 void setName(java.lang.String name)
          Does nothing.
 void setSuperclass(java.lang.String superclass)
          Sets the superclass or interface of this anonymous class.
 
Methods inherited from interface com.borland.jbuilder.jot.JotInnerClass
getOuterClass
 
Methods inherited from interface com.borland.jbuilder.jot.JotClassSource
addConstructor, addField, addInitBlock, addInnerClass, addMethod, addMethodDeclaration, getComparableLocation, getDeclaredModifiers, getDeclaringFile, removeConstructor, removeField, removeInitBlock, removeInnerClass, removeMethod
 
Methods inherited from interface com.borland.jbuilder.jot.JotClass
addUserData, getComponentType, getConstructor, getConstructors, getDeclaredConstructor, getDeclaredConstructors, getDeclaredField, getDeclaredFields, getDeclaredInnerClasses, getDeclaredMethod, getDeclaredMethods, getDeclaredMethods, getField, getFields, getFile, getInnerClasses, getMethod, getMethods, getMethods, getModifiers, getName, getType, getUserData, isArray, isAssignableFrom, isInstance, isInterface, isPrimitive, newInstance
 
Methods inherited from interface com.borland.jbuilder.jot.JotCommentable
addBlankLine, addComment, getComment, removeComment
 
Methods inherited from interface com.borland.jbuilder.jot.JotMarker
addUserData, getEndPosition, getStartPosition, getUserData
 

Method Detail

setName

public void setName(java.lang.String name)
Does nothing. The name of an anonymous class is chosen by the compiler.
Specified by:
setName in interface JotClassSource

setModifiers

public void setModifiers(int modifiers)
Does nothing. Anonymous classes have no modifiers.
Specified by:
setModifiers in interface JotClassSource
Following copied from interface: com.borland.jbuilder.jot.JotClassSource
See Also:
Modifier

getSuperclass

public JotType getSuperclass()
Returns the superclass or interface of this anonymous class. Because an anonymous class may either extend a class or implement a single interface both possiblities are handled by this method. This method is equivalent to calling getType() on the JotNew object which contains this object.
Specified by:
getSuperclass in interface JotClass
See Also:
JotNew.getType()

setSuperclass

public void setSuperclass(java.lang.String superclass)
Sets the superclass or interface of this anonymous class. Null values are not allowed. Because an anonymous class may either extend a class or implement a single interface both possiblities are handled by this method. This method is equivalent to calling setType() on the JotNew object which contains this object.
Specified by:
setSuperclass in interface JotClassSource
See Also:
JotNew.setType(java.lang.String)

getInterfaces

public JotType[] getInterfaces()
Does nothing.
Specified by:
getInterfaces in interface JotClass
See Also:
getSuperclass()

addInterface

public JotType addInterface(JotMarker marker,
                            boolean before,
                            java.lang.String interfaceName)
Does nothing.
Specified by:
addInterface in interface JotClassSource
See Also:
setSuperclass()

removeInterface

public void removeInterface(JotType iface)
Does nothing.
Specified by:
removeInterface in interface JotClassSource
See Also:
setSuperclass()