Extension SDK 9.0.5

oracle.jdeveloper.cmt
Interface CmtMethodCall


public interface CmtMethodCall


Method Summary
 CmtValue addArgument(CmtValue marker, boolean before, CmtSubcomponent value)
           
 CmtValue addArgument(CmtValue marker, boolean before, java.lang.String value)
           
 CmtValue[] getArguments()
           
 JotMethodCall getJotMethodCall()
          Get the JotMethodCall represented by this instance.
 java.lang.String getMethodName()
           
 CmtMethodCall getNestedMethodCall()
          Get the CmtMethodCall representation of the inner JotMethodCall in the event that this instance is part of a nested expression.
 CmtMethodSource getParent()
          Get the owning CmtMethod or null.
 CmtSubcomponent getSubcomponent()
           
 boolean isNested()
          Determine whether or not this instance represents an outer JotMethodCall of a JotNestedExpression.
 void removeArgument(CmtValue value)
           
 void setSubcomponent(CmtSubcomponent s)
           
 

Method Detail

getParent

public CmtMethodSource getParent()
Get the owning CmtMethod or null.


setSubcomponent

public void setSubcomponent(CmtSubcomponent s)

getSubcomponent

public CmtSubcomponent getSubcomponent()

getMethodName

public java.lang.String getMethodName()

getArguments

public CmtValue[] getArguments()

addArgument

public CmtValue addArgument(CmtValue marker,
                            boolean before,
                            java.lang.String value)

addArgument

public CmtValue addArgument(CmtValue marker,
                            boolean before,
                            CmtSubcomponent value)

removeArgument

public void removeArgument(CmtValue value)

isNested

public boolean isNested()
Determine whether or not this instance represents an outer JotMethodCall of a JotNestedExpression. i.e. Determines whether the JotMethodCall represented by this instance is the result of JotNestedExpression.getFirstExpression().


getNestedMethodCall

public CmtMethodCall getNestedMethodCall()
Get the CmtMethodCall representation of the inner JotMethodCall in the event that this instance is part of a nested expression. Note that the inner call may itself further contain a nested call. i.e. returns the CmtMethodCall representation of the result of JotNestedExpression.getSecondExpression().


getJotMethodCall

public JotMethodCall getJotMethodCall()
Get the JotMethodCall represented by this instance. Note that the JotMethodCall does not necessarily represent the entire expression, but rather may be a sub expression of a nested expression. e.g. The JotNestedExpression 'this.getContentPane().add(jButton1, null)' actually contains two JotMethodCall instances; getContentPane() and add(jButton1, null), each of which will be represented by individual CmtMethodCall instances.


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.