org.eclipse.cdt.internal.ui.wizards.classwizard
Class DestructorMethodStub

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.wizards.classwizard.AbstractMethodStub
      extended by org.eclipse.cdt.internal.ui.wizards.classwizard.DestructorMethodStub
All Implemented Interfaces:
IMethodStub

public final class DestructorMethodStub
extends AbstractMethodStub


Constructor Summary
DestructorMethodStub()
           
DestructorMethodStub(org.eclipse.cdt.core.parser.ast.ASTAccessVisibility access, boolean isVirtual, boolean isInline)
           
 
Method Summary
 java.lang.String createMethodDeclaration(java.lang.String className, IBaseClassInfo[] baseClasses, java.lang.String lineDelimiter)
           
 java.lang.String createMethodImplementation(java.lang.String className, IBaseClassInfo[] baseClasses, java.lang.String lineDelimiter)
           
 boolean isDestructor()
           
 
Methods inherited from class org.eclipse.cdt.internal.ui.wizards.classwizard.AbstractMethodStub
canModifyAccess, canModifyInline, canModifyVirtual, getAccess, getDescription, getName, isConstructor, isInline, isVirtual, setAccess, setInline, setVirtual
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestructorMethodStub

public DestructorMethodStub()

DestructorMethodStub

public DestructorMethodStub(org.eclipse.cdt.core.parser.ast.ASTAccessVisibility access,
                            boolean isVirtual,
                            boolean isInline)
Method Detail

createMethodDeclaration

public java.lang.String createMethodDeclaration(java.lang.String className,
                                                IBaseClassInfo[] baseClasses,
                                                java.lang.String lineDelimiter)
Specified by:
createMethodDeclaration in interface IMethodStub
Specified by:
createMethodDeclaration in class AbstractMethodStub

createMethodImplementation

public java.lang.String createMethodImplementation(java.lang.String className,
                                                   IBaseClassInfo[] baseClasses,
                                                   java.lang.String lineDelimiter)
Specified by:
createMethodImplementation in interface IMethodStub
Specified by:
createMethodImplementation in class AbstractMethodStub

isDestructor

public boolean isDestructor()
Specified by:
isDestructor in interface IMethodStub
Overrides:
isDestructor in class AbstractMethodStub