Interface ICPPMethod

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IBinding, ICPPBinding, ICPPFunction, ICPPMember, IFunction
All Known Subinterfaces:
ICPPConstructor, ICPPConstructorSpecialization, ICPPMethodSpecialization

public interface ICPPMethod extends ICPPFunction, ICPPMember
Base interface for methods, also used for constructors.
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Field Details

    • EMPTY_CPPMETHOD_ARRAY

      static final ICPPMethod[] EMPTY_CPPMETHOD_ARRAY
  • Method Details

    • isVirtual

      boolean isVirtual()
      Returns whether this method is declared to be virtual. Does not detect whether the method is virtual because of overriding a virtual method from a base class.
    • isDestructor

      boolean isDestructor()
      Is this a destructor? Returns true if its name starts with '~'
    • isImplicit

      boolean isImplicit()
      Returns whether this is an implicit method (constructor, assignment operator, etc.)
      Since:
      4.0
    • isExplicit

      boolean isExplicit()
      Returns whether this is an explicit constructor or an explicit conversion operator.
      Since:
      5.3
    • isPureVirtual

      boolean isPureVirtual()
      Returns whether this is a pure abstract method
      Since:
      5.1
    • isOverride

      boolean isOverride()
      Returns whether this method is declared override.
      Since:
      5.5
    • isFinal

      boolean isFinal()
      Returns whether this method is declared final.
      Since:
      5.5