Interface ICDecl
- All Superinterfaces:
ICElement,ICExpression,ICLeftExpression,ICSourceElement,ICStatement
C AST interface representing the declaration of a
typed identifier.-
Method Summary
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
addPhysicalOffset, addPhysicalOffsets, evaluate, format, generate, getData, getElementType, getPhysicalOffset, getPhysicalOffsets, getSubElements, replaceSubElement, setData, setPhysicalOffsets, toString, visitDepthPost, visitDepthPost, visitDepthPost, visitDepthPre, visitDepthPre, visitDepthPreMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement
getIntermediateOffset, setIntermediateOffset
-
Method Details
-
isParameterDeclaration
boolean isParameterDeclaration()Convenience method. Determine whether this object is the declaration of a method parameter.- Returns:
-
getType
ICType getType()Get the declaration type.- Returns:
-
getIdentifier
ICIdentifier getIdentifier()Get the identifier declared.- Returns:
-
getName
String getName()Convenience method used to retrieve the originally-set name of the identifier.- Returns:
-
duplicate
ICDecl duplicate()Description copied from interface:ICElementDeep duplication of the element. Sub-elements are duplicated.Note:
ICClass,ICMethod,ICField,ICIdentifier,ICConstant,ICTypeandICLabelare not duplicated.- Specified by:
duplicatein interfaceICElement- Specified by:
duplicatein interfaceICExpression- Specified by:
duplicatein interfaceICLeftExpression- Specified by:
duplicatein interfaceICSourceElement- Specified by:
duplicatein interfaceICStatement
-