org.eclipse.cdt.managedbuilder.internal.macros
Class DefaultMacroContextInfo

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.macros.DefaultMacroContextInfo
All Implemented Interfaces:
IMacroContextInfo, org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo

public class DefaultMacroContextInfo
extends java.lang.Object
implements IMacroContextInfo

This is the default implementation of the IMacroContextInfo

Since:
3.0

Constructor Summary
DefaultMacroContextInfo(int type, java.lang.Object data)
           
DefaultMacroContextInfo(int type, java.lang.Object data, org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier[] suppliers)
           
 
Method Summary
 java.lang.Object getContextData()
          returns the context data
 int getContextType()
          returns the context type
 org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo getNext()
           
 org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier[] getSuppliers()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo
equals
 

Constructor Detail

DefaultMacroContextInfo

public DefaultMacroContextInfo(int type,
                               java.lang.Object data)

DefaultMacroContextInfo

public DefaultMacroContextInfo(int type,
                               java.lang.Object data,
                               org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier[] suppliers)
Method Detail

getContextType

public int getContextType()
Description copied from interface: IMacroContextInfo
returns the context type

Specified by:
getContextType in interface IMacroContextInfo
Returns:
int

getContextData

public java.lang.Object getContextData()
Description copied from interface: IMacroContextInfo
returns the context data

Specified by:
getContextData in interface IMacroContextInfo
Returns:
Object

getSuppliers

public org.eclipse.cdt.utils.cdtvariables.ICdtVariableSupplier[] getSuppliers()
Specified by:
getSuppliers in interface org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo

getNext

public org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo getNext()
Specified by:
getNext in interface org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo