public interface SourceNewClassExpression extends SourceInvokeExpression, SourceHasType
EMPTY_ARRAYCHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
SourceClass |
getAnonymousClass() |
void |
setAnonymousClass(SourceClassBody body)
Adds, replaces, or removes the anonymous class body.
|
getArgumentAt, getArgumentCount, getArgumentListgetLhsOperand, setLhsOperandgetConstantValue, getExpressionCode, getFirstOperand, getOperandAt, getOperandCount, getOperands, getOperatorCode, getSecondOperand, getThirdOperandaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfgetCompiledObject, getResolvedObjectgetResolvedType, getUnresolvedTypegetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isSourceElement, isSynthetic, printCompiledInfogetResolvedMethodgetResolvedLhsgetTypeArgumentList, getTypeArguments, isGenericgetSourceType, setSourceTypeSourceClass getAnonymousClass()
void setAnonymousClass(SourceClassBody body)
body - A class body