Extension SDK 9.0.5

Uses of Class
oracle.jdeveloper.jot.JotInvalidElementException

Packages that use JotInvalidElementException
oracle.jdeveloper.jot Provides classes and interfaces for JOT (the Java Object Toolkit). 
 

Uses of JotInvalidElementException in oracle.jdeveloper.jot
 

Methods in oracle.jdeveloper.jot that throw JotInvalidElementException
 java.lang.String JotUnaryExpression.getOperator()
          Retrieves the operator associated with this unary expression.
 void JotUnaryExpression.setOperator(java.lang.String oper)
          Sets the operator associated with this unary expression.
 JotExpression JotUnaryExpression.getOperand()
          Retrieves the operand expression.
 void JotUnaryExpression.setOperand(java.lang.String exp)
          Sets the operand expression.
 JotExpression JotThrow.getExpression()
          Retrieves the expression associated with this statement.
 void JotThrow.setExpression(java.lang.String exp)
          Sets the expression associated with this statement.
 JotExpression JotSynchronized.getExpression()
          Retrieves the expression associated with this statement.
 void JotSynchronized.setExpression(java.lang.String exp)
          Sets the expression associated with this statement.
 JotExpression JotSwitch.getExpression()
          Retrieves the expression associated with this switch statement.
 void JotSwitch.setExpression(java.lang.String exp)
          Sets the expression associated with this switch statement.
 JotExpression JotQuestionExpression.getCondition()
          Retrieves the conditional sub-expression.
 void JotQuestionExpression.setCondition(java.lang.String exp)
          Sets the conditional sub-expression.
 JotExpression JotQuestionExpression.getWhenTrueExpression()
          Retrieves the expression evaluated when the condition is true.
 void JotQuestionExpression.setWhenTrueExpression(java.lang.String exp)
          Sets the true sub-expression.
 JotExpression JotQuestionExpression.getWhenFalseExpression()
          Retrieves the expression evaluated when the condition is false.
 void JotQuestionExpression.setWhenFalseExpression(java.lang.String exp)
          Sets the false sub-expression.
 java.lang.String JotPackageStatement.getPackage()
           
 void JotPackageStatement.setPackage(java.lang.String newPackage)
          Changes the package statement.
 java.lang.String JotFor.getForInitialization()
          Retrieves the intialization code of the for statement.
 JotForInitializer JotFor.getForInitializer()
          Retrieves the JotForInitializer that represents the initialization clause of this for statement
 void JotFor.setForInitialization(java.lang.String newInit)
          Sets the intialization code the for statement.
 JotExpression JotFor.getConditionalExpression()
          Retrieves the conditional expression of the for statement.
 void JotFor.setConditionalExpression(java.lang.String exp)
          Sets the conditional expression of this for statement.
 JotStatementExpression[] JotFor.getForUpdate()
          Retrieves the expression comprising the update clause of this statement.
 JotStatementExpression JotFor.addForUpdateExpression(JotStatementExpression marker, boolean before, java.lang.String exp)
          Adds a new expression to the update clause of this for statement.
 void JotFor.removeForUpdateExpression(JotStatementExpression exp)
          Removes an existing expression from the update clause.
 JotType[] JotDocThrowsTag.getExceptionTypes()
           
 JotType JotDocThrowsTag.getReferencedExceptionType()
           
 java.lang.String JotDocThrowsTag.getExceptionName()
           
 void JotDocThrowsTag.setExceptionName(java.lang.String exceptionName)
           
 java.lang.String JotDocThrowsTag.getExceptionComment()
           
 void JotDocThrowsTag.setExceptionComment(java.lang.String exceptionComment)
           
 java.lang.String JotDocTextTag.getText()
           
 void JotDocTextTag.setText(java.lang.String newText)
           
 JotType JotDocSeeTag.getReferencedClassType()
           
 java.lang.String JotDocSeeTag.getReferencedClassName()
           
 java.lang.String JotDocSeeTag.getReferencedMemberName()
           
 JotType JotDocReturnTag.getReturnType()
           
 java.lang.String JotDocReturnTag.getReturnComment()
           
 void JotDocReturnTag.setReturnComment(java.lang.String returnComment)
           
 java.lang.String JotDocParamTag.getParameterName()
           
 void JotDocParamTag.setParameterName(java.lang.String paramName)
           
 java.lang.String JotDocParamTag.getParameterComment()
           
 void JotDocParamTag.setParameterComment(java.lang.String paramComment)
           
 JotType JotDocLinkTag.getReferencedClassType()
           
 java.lang.String JotDocLinkTag.getReferencedClassName()
           
 java.lang.String JotDocLinkTag.getReferencedMemberName()
           
 int JotDocLinkTag.getTextOffset()
           
 int JotDocLinkTag.getLength()
           
 java.lang.String JotContinue.getContinueLabel()
          Retrieves the target label associated with this continue statement.
 void JotContinue.setContinueLabel(java.lang.String id)
          Sets the target label associated with this continue statement.
 java.lang.String JotBreak.getBreakLabel()
          Retrieves the target label associated with this break statement.
 void JotBreak.setBreakLabel(java.lang.String label)
          Sets the target label associated with this break statement.
 JotExpression[] JotArrayInitializer.getExpressions()
          Retrieves the expressions that make up this array initialization expression.
 JotExpression JotArrayInitializer.setExpression(int idx, java.lang.String exp)
          Sets a specific expression.
 JotExpression JotArrayInitializer.addExpression(JotExpression marker, boolean before, java.lang.String exp)
          Adds a new expression.
 void JotArrayInitializer.removeExpression(JotExpression exp)
          Removes an existing expression.
 JotExpression JotArrayDereference.getObjectExpression()
          Retrieves the object expression portion of the array access expression.
 JotExpression JotArrayDereference.setObjectExpression(java.lang.String exp)
          Sets the new object expression portion of the array access expression.
 JotExpression JotArrayDereference.getIndexExpression()
          Retrieves the index expression portion of this array access expression.
 JotExpression JotArrayDereference.setIndexExpression(java.lang.String exp)
          Sets the index expression portion of this array access expression.
 int JotArrayAllocation.getDimensions()
          Retrieves the dimensions of this array allocation expression.
 JotExpression JotArrayAllocation.getExpressionAt(int dimension)
          Retrieves a dimension expression.
 JotExpression JotArrayAllocation.setExpressionAt(int dimension, java.lang.String exp)
          Sets a dimension expression.
 JotArrayInitializer JotArrayAllocation.getInitializationExpression()
          Retrieves the current array initialiation expression.
 JotArrayInitializer JotArrayAllocation.setInitializationExpression(java.lang.String exp)
          Sets the array initialization expression.
 JotIf JotElse.getOwningIf()
          Retrieves the owning if statement.
 java.lang.String JotInfixExpression.getOperator()
          Retrieves the operator associated with this infix expression.
 void JotInfixExpression.setOperator(java.lang.String oper)
          Sets the new operator for this infix expression.
 JotExpression JotInfixExpression.getLeftExpression()
          Retrieves the left hand side expression.
 void JotInfixExpression.setLeftExpression(java.lang.String exp)
          Sets the left hand side expression.
 JotExpression JotInfixExpression.getRightExpression()
          Retrieves the right hand side expression.
 void JotInfixExpression.setRightExpression(java.lang.String exp)
          Sets the right hand side expression.
 JotElse JotIf.getElseClause()
          Retrieves the else clause associated with this if statement.
 JotElse JotIf.createElseClause()
          Creates a new else clause.
 void JotIf.removeElseClause()
          Removes the else clause associated with this if statement.
 JotLocalVariable[] JotLocalVariableDeclaration.getLocalVariables()
          Retrieves the local variables contained in this declaration.
 JotLocalVariable JotLocalVariableDeclaration.addLocalVariable(JotLocalVariable marker, boolean before, java.lang.String varName)
          Adds a new local variable to this declaration.
 JotLocalVariable JotLocalVariableDeclaration.addLocalVariable(java.lang.String varName)
          Adds a new local variable to the end of this declaration.
 void JotLocalVariableDeclaration.removeLocalVariable(JotLocalVariable var)
          Removes a local variable from this declaration.
 JotExpression JotNestedExpression.getFirstExpression()
          Retrieves the first expression of the nested expression.
 JotExpression JotNestedExpression.getSecondExpression()
          Retrieves the second expression of the nested expression.
 JotCatch[] JotTry.getCatchClauses()
          Retrieves the catch clauses associated with this try.
 JotCatch JotTry.addCatchClause(JotCatch marker, boolean before, java.lang.String eType, java.lang.String eName)
          Adds a new catch clause.
 JotCatch JotTry.addCatchClause(java.lang.String eType, java.lang.String eName)
          Adds a new catch clause at the end of the list of catch clauses.
 void JotTry.removeCatchClause(JotCatch catchClause)
          Removes an existing catch clause.
 JotCodeBlock JotTry.getFinallyBlock()
          Retrieves the finally code block.
 JotCodeBlock JotTry.addFinallyBlock()
          Adds a finally block.
 void JotTry.removeFinallyBlock()
          Removes the finally clause.
 JotStatementExpression JotExpressionStatement.getExpression()
          Retrieves the expression associated with this JotExpressionStatement.
 void JotExpressionStatement.setExpression(java.lang.String exp)
          Sets the expression associated with this JotExpressionStatement.
 java.lang.String JotDocComment.getDescriptionText()
          Retrieves the description text of this javadoc comment.
 void JotDocComment.setDescriptionText(java.lang.String text)
          Sets the description text of this javadoc comment.
 JotDocTag[] JotDocComment.getDescriptionTextTags()
          Finds and tags nested within the description text portion of this comment.
 JotDocTag[] JotDocComment.getTags()
          Retrieves the javadoc doc tags associated with this comment.
 JotDocTag JotDocComment.addTag(JotDocTag marker, boolean before, java.lang.String tagName, java.lang.String tagText)
          Adds a new doc tag.
 void JotDocComment.removeTag(JotDocTag tag)
           
 void JotDocComment.removeAllTags()
           
 java.lang.String JotDocComment.getRawCommentText()
           
 void JotDocComment.setRawCommentText(java.lang.String commentText)
          sets the entire comment's text.
 JotDocTag[] JotDocComment.getTags(java.lang.String tagName)
           
 JotDocSeeTag[] JotDocComment.getSeeTags()
           
 JotElement JotDocComment.getElement()
           
 java.lang.String JotComment.getText()
          Deprecated.  
 java.lang.String JotComment.getCommentText()
          Retrieves the comment text of this JotComment instance.
 void JotComment.setCommentText(java.lang.String text)
          Sets the comment text of this comment.
 java.lang.String JotAnonymousClass.getName()
          Retrieves an internal name for this class.
 void JotAnonymousClass.setName(java.lang.String name)
          Sets the internal name for this class.
 JotVariableDeclaration JotForInitializer.getVariableDeclaration()
          Retrieves the variable declaration contained in this initialization clause, or null if this clause does not contain a variable declaration.
 JotVariableDeclaration JotForInitializer.setVariableDeclaration(java.lang.String vType, java.lang.String vName)
          Sets the contents of this initialization clause to a variable declaration.
 JotStatementExpression[] JotForInitializer.getExpressions()
          Retrieves the list of statement expressions contained in this initialization clause.
 JotStatementExpression JotForInitializer.addExpression(JotStatementExpression marker, boolean before, java.lang.String exp)
          Adds a new expression to this initialization clause.
 void JotForInitializer.removeExpression(JotStatementExpression exp)
          Removes an existing expression from this initialization clause.
 void JotForInitializer.setInitializationText(java.lang.String text)
          Sets the text of this initialization clause.
 java.lang.String JotCase.getLabel()
          Retrieves the label associated with this JotCase.
 void JotCase.setLabel(java.lang.String label)
          Sets the label associated with this JotCase.
 JotExpression JotCase.getLabelExpression()
          Retrieves the case label as a JotExpression.
 JotBlockStatement JotHasChildStatement.addBlock()
          Adds a new block statement as the sub-statement.
 JotBreak JotHasChildStatement.addBreak()
          Adds a new break statement as the sub-statement.
 JotContinue JotHasChildStatement.addContinue()
          Adds a new continue statement as the sub-statement.
 JotReturn JotHasChildStatement.addReturn(java.lang.String exp)
          Adds a new return statement as the sub-statement.
 JotThrow JotHasChildStatement.addThrow(java.lang.String exp)
          Adds a new throw statement as the sub-statement.
 JotDo JotHasChildStatement.addDo(java.lang.String condition)
          Adds a new do statement as the sub-statement.
 JotWhile JotHasChildStatement.addWhile(java.lang.String condition)
          Adds a new while statement as the sub-statement.
 JotIf JotHasChildStatement.addIf(java.lang.String exp)
          Adds a new if statement as the sub-statement.
 JotFor JotHasChildStatement.addFor()
          Adds a new for statement as the sub-statement.
 JotSwitch JotHasChildStatement.addSwitch(java.lang.String exp)
          Adds a new switch statement as the sub-statement.
 JotSynchronized JotHasChildStatement.addSynchronized(java.lang.String exp)
          Adds a new synchronized statement as the sub-statement.
 JotExpressionStatement JotHasChildStatement.addExpressionStatement(java.lang.String exp)
          Adds a new expression statement as the sub-statement.
 JotExpressionStatement JotHasChildStatement.addExpressionStatement(JotStatementExpression exp)
          Adds a new expression statement as the sub-statement.
 JotTry JotHasChildStatement.addTry()
          Adds a new try statement as the sub-statement.
 JotStatement JotHasChildStatement.addStatement(java.lang.String text)
          Adds a new statement as the sub-statement.
 JotMethodCall JotHasChildStatement.createMethodCall(java.lang.String object, java.lang.String method)
          Creates a new method call.
 JotNestedExpression JotHasChildStatement.createNestedMethodCall(JotMethodCall firstCall, JotMethodCall secondCall)
          Creates a new nested method call.
 JotAssignment JotHasChildStatement.createAssignment(java.lang.String variable, java.lang.String value)
          Creates a new assignment.
 JotStatement JotHasChildStatement.getChildStatement()
          Retrieves the sub-statement associated with this statement.
 JotExpression JotConditional.getConditionalExpression()
          Retrieves the expression associated with this conditional statement.
 void JotConditional.setConditionalExpression(java.lang.String exp)
          Sets the expression associated with this conditional statement.
 JotExpression JotAssignment.getVariableExpression()
          Retrieves the left hand variable expression.
 java.lang.String JotAssignment.getVariableName()
          Retrieves the left hand variable expression as a string.
 void JotAssignment.setVariableName(java.lang.String newVar)
          Sets the left hand variable expression.
 java.lang.String JotAssignment.getAssignmentOperator()
          Retrieves the assignment operator.
 void JotAssignment.setAssignmentOperator(java.lang.String oper)
          Sets the assignment operator.
 boolean JotAssignment.isCompoundOperator()
          Whether this assignment is using a compound assignment operator.
 JotExpression JotAssignment.getAssignmentExpression()
          Retrieves the right hand expression.
 void JotAssignment.setAssignmentExpression(java.lang.String exp)
          Sets the right hand expression.
 JotType JotParameter.getType()
          Retrieves the type of this parameter.
 void JotParameter.setType(java.lang.String newType)
          Sets the base type of this parameter.
 void JotPrimaryExpression.setExpressionString(java.lang.String exp)
          Sets the new expression String of this expression.
 boolean JotPrimaryExpression.isLiteral()
          Whether this primary expression represents a literal.
 JotParameter JotCatch.getExceptionType()
          Retrieves the exception type being caught by this JotCatch.
 JotType JotVariableDeclaration.getType()
          Retrieves the base type of this variable declaration.
 void JotVariableDeclaration.setType(java.lang.String newType)
          Sets the base type of this variable declaration.
 JotVariable[] JotVariableDeclaration.getVariables()
          Retrieves the variables contained in this declaration.
 JotVariable JotVariableDeclaration.addVariable(JotVariable marker, boolean before, java.lang.String varName)
          Adds a new variable to this declaration.
 JotVariable JotVariableDeclaration.addVariable(java.lang.String varName)
          Adds a new variable to the end of this declaration.
 void JotVariableDeclaration.removeVariable(JotVariable var)
          Removes a variable from this declaration.
 JotType JotAllocation.getObjectType()
          Retrieves the type of this allocation expression.
 void JotAllocation.setObjectType(java.lang.String typeName)
          Sets the type of this allocation expression.
 JotExpression[] JotClassAllocation.getArguments()
          Retrieves the arguments being passed to the class constructor.
 JotExpression JotClassAllocation.setArgument(int idx, java.lang.String exp)
          Sets an argument in the call to the constructor.
 JotExpression JotClassAllocation.addArgument(JotExpression marker, boolean before, java.lang.String exp)
          Adds a new argument.
 void JotClassAllocation.removeArgument(JotExpression oldExp)
          Removes an existing argument.
 java.lang.String JotExpression.getExpressionString()
          Retrieves the string representation of this expression.
 boolean JotExpression.isParenthesized()
          Whether this expression is enclosed within parenthesis.
 void JotExpression.setParenthesized(boolean isParenthesized)
          Sets the parenthesis state of this expression.
 void JotExpression.renameObjectReference(java.lang.String oldName, java.lang.String newName)
          Renames any occurrences of a given object name to another name.
 JotType JotExpression.resolveTypeReference(java.lang.String type)
          Resolves a type name into a JotType, based on the current scope.
 java.lang.String JotExpression.getMinimumReferenceName(java.lang.String type)
          Retrieves the minimum name required to reference the specified type, based on the current scope.
 java.lang.String JotMethodCall.getObjectName()
          Retrieves the name of the object on which this method call is being invoked.
 void JotMethodCall.setObjectName(java.lang.String name)
          Sets the name of the object on which this methoc call is being invoked.
 java.lang.String JotMethodCall.getMethodName()
          Retrieves the name of the method being invoked.
 void JotMethodCall.setMethodName(java.lang.String name)
          Sets the name of the method being invoked.
 JotExpression[] JotMethodCall.getArguments()
          Retrieves the arguments to the method invocation.
 JotExpression JotMethodCall.addArgument(JotExpression marker, boolean before, java.lang.String arg)
          Adds an arguement to the method invocation.
 JotExpression JotMethodCall.addArgument(java.lang.String arg)
          Adds an arguement to the end of this method invocation.
 void JotMethodCall.removeArgument(JotExpression argument)
          Removes an existing argument.
 int JotBlockElement.getElementType()
          Retrieves the type of element represented by this JotBlockElement.
 java.lang.String JotStatement.getStatementText()
          Retrieves the text representation of this JotStatement.
 java.lang.String[] JotStatement.getLabels()
          Retrieves the labels associated with this statement.
 void JotStatement.addLabel(java.lang.String label)
          Add a label to this statement.
 void JotStatement.removeLabel(java.lang.String label)
          Removes a label from a statement.
 int JotStatement.getStatementType()
          Retrieves the statement type of this JotStatement.
 JotBlockStatement JotStatement.getAsBlock()
          Retrieves the JotBlockStatement representing this statement if it is a block statement.
 JotExpressionStatement JotStatement.getAsExpressionStatement()
          Retrieves the JotExpressionStatement representing this statement if it is an expression statement.
 JotExpression JotReturn.getExpression()
          Retrieves the expression associated with this return statement.
 void JotReturn.setExpression(java.lang.String exp)
          Sets the expression associated with this return statement.
 java.lang.String JotDocTag.getTagName()
          Retrieves the name of this doc tag.
 void JotDocTag.setTagName(java.lang.String tagName)
          Sets the name of this doc tag.
 java.lang.String JotDocTag.getTagText()
          The text of this doc tag.
 JotDocTag[] JotDocTag.getTextTags()
          Retrieves the text of the comment text portion of the tag as an array of tags.
 void JotDocTag.setTagText(java.lang.String tagText)
          Sets the text of this doc tag.
 boolean JotDocTag.isSeeTag()
           
 boolean JotDocTag.isLinkTag()
           
 boolean JotDocTag.isParamTag()
           
 boolean JotDocTag.isThrowsTag()
           
 boolean JotDocTag.isReturnTag()
           
 boolean JotDocTag.isSerialFieldTag()
           
 boolean JotDocTag.isTextTag()
           
 JotBlockElement[] JotCodeBlock.getBlockElements()
          Retrieves all the block elements that are children of this block.
 int JotCodeBlock.getComparableLocation(JotBlockElement element)
          Retrieves the position of an element in the list of elements.
 int JotCodeBlock.getComparableLocation(JotStatementExpression stmtExp)
          Retrieves the position of an expression in the list of elements.
 JotBlockStatement JotCodeBlock.addBlock(JotBlockElement marker, boolean before)
          Adds a new block statement to this code block.
 JotBlockStatement JotCodeBlock.addBlock()
          Adds a new block statement to the end of this code block.
 JotBreak JotCodeBlock.addBreak(JotBlockElement marker, boolean before)
          Adds a new break statement to this code block.
 JotBreak JotCodeBlock.addBreak()
          Adds a new break statement to the end of this block statement.
 JotContinue JotCodeBlock.addContinue(JotBlockElement marker, boolean before)
          Adds a new continue statement to this code block.
 JotContinue JotCodeBlock.addContinue()
          Adds a new continue statement to the end of this code block.
 JotReturn JotCodeBlock.addReturn(JotBlockElement marker, boolean before, java.lang.String exp)
          Adds a new return statement to this code block.
 JotReturn JotCodeBlock.addReturn(java.lang.String exp)
          Adds a new return statement to the end of this code block.
 JotThrow JotCodeBlock.addThrow(JotBlockElement marker, boolean before, java.lang.String exp)
          Adds a new throw statement to this code block.
 JotThrow JotCodeBlock.addThrow(java.lang.String exp)
          Adds a new throw statement to the end of this code block.
 JotDo JotCodeBlock.addDo(JotBlockElement marker, boolean before, java.lang.String condition)
          Adds a new do statement to this code block.
 JotDo JotCodeBlock.addDo(java.lang.String condition)
          Adds a new do statement to the end of this code block.
 JotWhile JotCodeBlock.addWhile(JotBlockElement marker, boolean before, java.lang.String condition)
          Adds a new while statement to this code block.
 JotWhile JotCodeBlock.addWhile(java.lang.String condition)
          Adds a new while statement to the end of this code block.
 JotIf JotCodeBlock.addIf(JotBlockElement marker, boolean before, java.lang.String exp)
          Adds a new if statement to this code block.
 JotIf JotCodeBlock.addIf(java.lang.String exp)
          Adds a new if statement to the end of this code block.
 JotFor JotCodeBlock.addFor(JotBlockElement marker, boolean before)
          Adds a new for statement to this code block.
 JotFor JotCodeBlock.addFor()
          Adds a new for statement to the end of this code block.
 JotSwitch JotCodeBlock.addSwitch(JotBlockElement marker, boolean before, java.lang.String exp)
          Adds a new switch statement to this code block.
 JotSwitch JotCodeBlock.addSwitch(java.lang.String exp)
          Adds a new switch statement to the end of this code block.
 JotSynchronized JotCodeBlock.addSynchronized(JotBlockElement marker, boolean before, java.lang.String exp)
          Adds a new synchronized statement to this code block.
 JotSynchronized JotCodeBlock.addSynchronized(java.lang.String exp)
          Adds a new synchronized statement to the end of this code block.
 JotExpressionStatement JotCodeBlock.addExpressionStatement(JotBlockElement marker, boolean before, java.lang.String exp)
          Adds a new expression statement to this code block.
 JotExpressionStatement JotCodeBlock.addExpressionStatement(java.lang.String exp)
          Adds a new expression statement to the end of this code block.
 JotExpressionStatement JotCodeBlock.addExpressionStatement(JotBlockElement marker, boolean before, JotStatementExpression exp)
          Adds a new expression statement to this code block based on a specific expression.
 JotExpressionStatement JotCodeBlock.addExpressionStatement(JotStatementExpression exp)
          Adds a new expression statement to the end of this code block based on a specific expression.
 JotTry JotCodeBlock.addTry(JotBlockElement marker, boolean before)
          Adds a new try statement to this code block.
 JotTry JotCodeBlock.addTry()
          Adds a new try statement to the end of this code block.
 JotCase JotCodeBlock.addCase(JotBlockElement marker, boolean before, java.lang.String label)
          Adds a new case statement to this code block.
 JotCase JotCodeBlock.addCase(java.lang.String label)
          Adds a new case statement to the end of this code block.
 JotLocalVariableDeclaration JotCodeBlock.addVariableDeclaration(JotBlockElement marker, boolean before, java.lang.String vType)
          Adds a new variable declaration to this block.
 JotLocalVariableDeclaration JotCodeBlock.addVariableDeclaration(java.lang.String vType)
          Adds a new variable declaration to the end of this block.
 JotLocalVariable JotCodeBlock.addVariable(JotBlockElement marker, boolean before, java.lang.String vType, java.lang.String vName)
          Creates a new variable declaration in this block and adds a variable to it.
 JotLocalVariable JotCodeBlock.addVariable(java.lang.String vType, java.lang.String vName)
          Creates a new variable declaration in this block and adds a variable to it.
 JotLocalClass JotCodeBlock.addLocalClass(JotBlockElement marker, boolean before, java.lang.String cName)
          Adds a new local class declaration to this block.
 JotLocalClass JotCodeBlock.addLocalClass(java.lang.String cName)
          Adds a new local class declaration to the end of this block.
 JotBlockElement JotCodeBlock.addBlockElement(JotBlockElement marker, boolean before, java.lang.String text)
          Adds an arbitrary block element to this code block.
 JotBlockElement JotCodeBlock.addBlockElement(java.lang.String text)
          Adds an arbitrary block element to this code block.
 JotBlockElement[] JotCodeBlock.addBlockElements(JotBlockElement marker, boolean before, java.lang.String text)
          Adds arbitrary block elements to this code block.
 JotBlockElement[] JotCodeBlock.addBlockElements(java.lang.String text)
          Adds arbitrary block elements to this code block.
 void JotCodeBlock.setText(java.lang.String text)
          Sets the text of this code block.
 void JotCodeBlock.removeBlockElement(JotBlockElement element)
          Removes a block element from this block.
 void JotCodeBlock.removeAllBlockElements()
          Removes all block elements from this block.
 JotMethodCall JotCodeBlock.createMethodCall(java.lang.String object, java.lang.String method)
          Creates a new method call.
 JotNestedExpression JotCodeBlock.createNestedMethodCall(JotMethodCall firstCall, JotMethodCall secondCall)
          Creates a new nested method call.
 JotAssignment JotCodeBlock.createAssignment(java.lang.String variable, java.lang.String value)
          Creates a new assignment.
 void JotCodeBlock.addBlankLine(JotBlockElement marker, boolean before)
          Adds a blank line to the code block.
 void JotCodeBlock.addBlankLine()
          Adds a blank line at the end of the code block.
 JotComment JotCodeBlock.createComment(int type, java.lang.String text)
          Creates a new comment.
 void JotCodeBlock.addComment(JotBlockElement marker, boolean before, JotComment comment)
          Adds a comment to this file.
 void JotCodeBlock.removeComment(JotComment comment)
          Removes an existing comment.
 JotComment[] JotCodeBlock.getComments()
          Retrieves all the class-level comments.
 JotComment JotCodeBlock.getComment(JotBlockElement marker, boolean before)
          Retrieves the nearest comment to a member.
 java.lang.String JotImport.getName()
          Retrieves the name contained in this import declaration.
 void JotImport.setName(java.lang.String name)
          Sets the name contained in this import declaration.
 java.lang.String JotImport.getPackage()
          Retrieves the package name portion of this import statment.
 void JotImport.setPackage(java.lang.String pkgName)
          Sets the package name portion of this import statement.
 java.lang.String JotImport.getClassName()
          Retrieves the name portion of this import statment.
 void JotImport.setClassName(java.lang.String clsName)
          sets the class name portion of this import statement.
 boolean JotImport.refersTo(java.lang.String thatIdent)
          Tests whether this import declaration and the supplied import text refer to the same class.
 JotType JotVariable.getType()
          Retrieves the type of this variable.
 int JotVariable.getModifiers()
          Retrieves the Java modifiers declared for this variable, encoded as a mask.
 void JotVariable.setArrayDimensions(int newDims)
          Sets the array dimensions of this variable.
 JotVariableDeclaration JotVariable.getOwningDeclaration()
          Retrieves the variable declaration that owns this variable.
 JotExpression JotVariable.getInitializer()
          Retrieves the initialization expression of this variable.
 void JotVariable.setInitializer(java.lang.String init)
          Sets the initialization expression of this variable.
 boolean JotField.isDeprecated()
           
 boolean JotField.isHidden()
           
 boolean JotField.isSource()
          Whether this JotField represents a field in a source class or in a compiled class.
 java.lang.String JotIdentifier.getName()
          Retrieves the text name of this identifer.
 void JotIdentifier.setName(java.lang.String value)
          Sets the name of this identifier.
 JotElement JotElementUpdate.getElement()
           
 JotElementUpdate[] JotElementUpdate.getAllModifiedChildren()
           
 JotElementUpdate[] JotElementUpdate.getModifiedChildren()
           
 JotElementUpdate[] JotElementUpdate.getAddedChildren()
           
 JotElementUpdate[] JotElementUpdate.getRemovedChildren()
           
 JotCodeBlock JotHasCodeBlock.getCodeBlock()
          Retrieves the code block associated with this object.
 void JotHasCodeBlock.setCodeBlockText(java.lang.String text)
          Sets the text of this object's code block.
 JotClass JotMember.getDeclaringClass()
          Retrieves the class that contains this member declaration.
 boolean JotMember.isDeprecated()
          In a source class, a constructor, method, or field is considered deprecated if the associated Javadoc has been marked '@deprecated'.
 boolean JotMember.isHidden()
          In a source class, a constructor, method, or field is considered hidden if the associated Javadoc has been marked '@hidden'.
 JotType JotMethod.getReturnType()
          Retrieves the type returned by this method.
 void JotMethod.setReturnType(java.lang.String typeName)
          Sets the return type of this method.
 JotMethod JotMethod.getOverriddenMethod()
           
 JotType[] JotMethod.getParameterTypes()
          Retrieves the types of this method's parameters.
 JotParameter[] JotMethod.getParameters()
          Retrieves this method's parameters.
 JotParameter JotMethod.getFirstParameter()
          Retrieves this method's first parameter.
 JotParameter JotMethod.getParameter(java.lang.String name)
          Deprecated.  
 JotParameter JotMethod.addParameter(java.lang.String pType, java.lang.String pName)
          Adds a new parameter to this method.
 JotParameter JotMethod.addParameter(int idx, java.lang.String pType, java.lang.String pName)
          Adds a new parameter to this method.
 void JotMethod.removeParameter(JotParameter param)
          Removes an existing parameter from this method.
 JotType[] JotMethod.getExceptionTypes()
          Retrieves the exception types declared in this method's throws-clause.
 void JotMethod.addExceptionType(java.lang.String typeName)
          Adds a new Exception type to this method.
 void JotMethod.addExceptionType(int idx, java.lang.String typeName)
          Adds a new Exception type to this method at a specific location within the throws clause.
 void JotMethod.removeExceptionType(java.lang.String typeName)
          Removes an exception type from the throws clause of this method.
 int JotCodeElement.getLength()
          Retrieves the length of this element.
 JotFile JotCodeElement.getContainingJotFile()
          Retrieves the JotFile that contains this element.
 boolean JotCodeElement.isInError()
           
 boolean JotCodeElement.childrenContainErrors()
           
 void JotCodeElement.delete()
          Removes this element, and children, from it's parent, and marks it invalid.
 java.lang.String JotCodeElement.getLeftWhitespace()
          Retrieves the consecutive white characters between the end of the previous element and this elements start position.
 java.lang.String JotCodeElement.getRightWhitespace()
          Retrieves the consecutive white characters between the end of this element and the start position of the next element.
 void JotCodeElement.setLeftWhitespace(java.lang.String leftWhitespace)
          Sets the consecutive white characters between the end of the previous element and this elements start position.
 void JotCodeElement.setRightWhitespace(java.lang.String rightWhitespace)
          Sets the consecutive white characters between the end of this element and the start position of the next element, or the end of the file.
 void JotCodeElement.addPrecedingComment(JotComment comment)
          Adds the given comment on a new line, or lines inserted prior to this element.
 java.lang.String JotNameable.getName()
          Retrieves the name of this member.
 void JotNameable.setName(java.lang.String name)
          Sets the name of this member.
 int JotHasModifiers.getModifiers()
          Retrieves the Java modifiers declared for this member, encoded as a mask.
 void JotHasModifiers.setModifiers(int mods)
          Sets the Java modifiers for this member, encoded as a mask.
 java.lang.String JotHasModifiers.getModifierText()
           
 void JotHasModifiers.setModifierText(java.lang.String modifierText)
           
 JotFile JotClass.getFile()
          Retrieves the file associated with this JotClass instance.
 JotClass JotClass.getDeclaringClass()
          Retrieves the class in which this class is declared.
 boolean JotClass.isAssignableFrom(JotClass cls)
          Tests whether the type represented by this JotClass instance is either the same as, or is a superclass or superinterface of, a given class.
 void JotClass.setIsInterface(boolean isIface)
          Marks whether this JotClass instance represents an interface.
 boolean JotClass.isDeprecated()
           
 boolean JotClass.isHidden()
           
 JotType JotClass.getComponentType()
          Gets the element type, if this is an array type.
 JotType JotClass.getType()
          Gets the JotType instance that contains this JotClass instance.
 JotType JotClass.getSuperclass()
          Gets the superclass type of this class.
 void JotClass.setSuperclass(java.lang.String sCls)
          Sets the superclass type for this class.
 JotType[] JotClass.getInterfaces()
          Gets this instance's superinterface declarations.
 void JotClass.addInterface(java.lang.String iface)
          Adds a superinterface to this instance's type declaration.
 void JotClass.removeInterface(JotType iface)
          Removes a superinterface from this type declaration.
 JotField[] JotClass.getDeclaredFields()
          Creates an array of declared field members.
 JotField JotClass.getDeclaredField(java.lang.String name)
          Gets the declared field member having the given name.
 JotField[] JotClass.getFields()
          Creates an array of declared and inherited public field members.
 JotField JotClass.getField(java.lang.String name)
          Gets this type's field member having the given name.
 JotField JotClass.addField(JotMember member, boolean before, java.lang.String type, java.lang.String name)
          Adds a new field to this type.
 void JotClass.removeField(JotField fld)
          Removes an existing field from this type.
 JotMethod[] JotClass.getDeclaredMethods()
          Creates an array of all declared method members.
 JotMethod[] JotClass.getDeclaredMethods(java.lang.String name)
          Creates an array of all declared methods having a given name.
 JotMethod JotClass.getDeclaredMethod(java.lang.String name, JotType[] parameterTypes)
          Gets the declared method having the given name and parameter types.
 JotMethod[] JotClass.getMethods()
          Creates an array of public declared and inherited method members.
 JotMethod[] JotClass.getMethods(java.lang.String methodName)
          Creates an array of declared and inherited public methods having a given name.
 JotMethod JotClass.getMethod(java.lang.String name, JotType[] parameterTypes)
          Gets the declared or inherited public method having the given name and parameter types.
 JotMethod JotClass.addMethod(JotMember member, boolean before, java.lang.String returnType, java.lang.String name)
          Adds a new method to this type.
 void JotClass.removeMethod(JotMethod method)
          Removes an existing method from this type.
 JotConstructor[] JotClass.getDeclaredConstructors()
          Creates an array of all the constructors declared for this type.
 JotConstructor JotClass.getDeclaredConstructor(JotType[] parameterTypes)
          Gets the constructor that takes parameters of the given types.
 JotConstructor[] JotClass.getConstructors()
          Creates an array of the public constructors declared for this type.
 JotConstructor JotClass.getConstructor(JotType[] parameterTypes)
          Gets the public constructor that takes parameters of the given types.
 JotConstructor JotClass.addConstructor(JotMember member, boolean before)
          Adds a new constructor to this type.
 void JotClass.removeConstructor(JotConstructor ctor)
          Removes an existing constructor from this type.
 JotClassInitializer[] JotClass.getDeclaredInitializers()
          Retrieves the initializers declared within this class.
 JotClassInitializer JotClass.addInitializer(JotMember member, boolean before)
          Adds a new initializer to this type.
 void JotClass.removeInitializer(JotClassInitializer init)
          Removes an existing initializer from this type.
 JotInnerClass[] JotClass.getDeclaredInnerClasses()
          Creates an array of the inner classes declared for this type.
 JotInnerClass[] JotClass.getInnerClasses()
          Creates an array of the public inner classes declared for this type.
 JotInnerClass JotClass.addInnerClass(JotMember member, boolean before, java.lang.String clsName)
          Adds a new member class to this class or interface.
 void JotClass.removeInnerClass(JotClass cls)
          Removes a member class from this class or interface.
 boolean JotClass.isSource()
          Whether this JotClass represents a class in a source file or in a compiled class file.
 JotDocComment JotClass.setDocComment(JotMember member, java.lang.String text)
          Sets the JavaDoc comment for a member.
 JotDocComment JotClass.getDocComment(JotMember member)
          Retrieves the current JavaDoc comment for a member.
 JotComment JotClass.createComment(int type, java.lang.String text)
          Creates a new comment.
 void JotClass.addComment(JotMember member, boolean before, JotComment comment)
          Adds a comment to this file.
 void JotClass.removeComment(JotComment comment)
          Removes an existing comment.
 JotComment[] JotClass.getComments()
          Retrieves all the class-level comments.
 JotComment JotClass.getComment(JotMember member, boolean before)
          Retrieves the nearest comment to a member.
 void JotClass.addBlankLine(JotMember member, boolean before)
          Adds a blank line to this file.
 JotComment JotClass.convertMemberToComment(JotMember member)
          Converts an existing member to a comment.
 java.lang.String JotClass.getPackage()
          Retrieves the package name from this class's file's package declaration.
 boolean JotFileLock.isLockable()
          All JotFile units are extensions of JotFileLock.
 void JotFileLock.readLockFile()
          The most common read lock.
 void JotFileLock.readUnlockFile()
          Removes a single reference count for a readLockFile.
 void JotFileLock.writeLock()
          Write lock will be granted when no other thread has any kind of lock.
 void JotFileLock.writeUnlock()
          Removes a single reference count for a writeLock.
 void JotFileLock.readLockModel()
          This type of read lock should only be used when the client wishes to allow concurrent source modification, such as user typing.
 void JotFileLock.readUnlockModel()
          Removes a single reference count for a readLockModel.
 int JotElement.getStartOffset()
          Retreives the starting offset of this element in the sourcefile.
 int JotElement.getEndOffset()
          Retreives the ending offset of this element in the sourcefile.
 boolean JotElement.isReadOnly()
          Returns whether this JotElement is read-only.
 java.lang.String JotElement.getElementName()
          Returns the name of this element.
 JotElement JotElement.getParent()
          Returns the element directly containing this element, or null if this element has no parent.
 void JotElement.setParent(JotElement element)
          Sets the parent of this element.
 boolean JotElement.isStructureKnown()
          Determines whether or not the contents of this element are knowable.
 JotPackageStatement JotFile.getPackageStatement()
          Retrieves the JotPackageStatement contained in this file.
 void JotFile.setPackageStatement(JotPackageStatement packageStatment, JotElement placementElement, boolean beforeElement)
          Sets the JotPackageStatement for this file.
 JotError[] JotFile.getAllErrors()
           
 JotError[] JotFile.getSyntaxErrors()
           
 JotError[] JotFile.getSemanticErrors()
           
 java.lang.String JotFile.getPackage()
          Retrieves the package name from this file's JotPackageStatement.
 void JotFile.setPackage(java.lang.String pkgName)
          Sets the package name in this file's JotPackageStatement.
 long JotFile.getTimestamp()
          Retrieves this file's timestamp.
 boolean JotFile.isReadOnly()
          Whether this file is read-only.
 java.lang.String JotFile.getMinimumReferenceName(java.lang.String type)
          Determines whether a given type can be referred to by its short name.
 JotClass[] JotFile.getClasses()
          Retrieves the classes defined in this file.
 JotClass JotFile.getClass(java.lang.String name)
          Retrieves a class by name.
 JotClass JotFile.addClass(java.lang.String name)
          Adds a new class declaration to this file.
 JotClass JotFile.addClass(int index, java.lang.String name)
          Adds a new class declaration to this file at a specific location.
 void JotFile.removeClass(JotClass cls)
          Removes a class from this file.
 int JotFile.getClassIndex(JotClass cls)
          Retrieves the index of the class in this file.
 JotImport[] JotFile.getImports()
          Retrieves this file's import declarations.
 JotImport JotFile.getImport(java.lang.String name)
          Retrieves the named import declaration.
 JotImport JotFile.addImport(java.lang.String name)
          Adds a new import statement to this file.
 void JotFile.removeImport(JotImport imp)
          Removes an existing import from this file.
 boolean JotFile.isSource()
          Indicates whether this JotFile instance represents a source file or a compiled classfile.
 void JotFile.commitFile()
          Commits any pending changes to the JOT model.
 void JotFile.commitFile(java.lang.Object origin)
          Commits any pending changes to the JOT model.
 void JotFile.commitFile(java.lang.String undoText)
          Commits any pending changes to the JOT model.
 void JotFile.commitFile(java.lang.Object origin, java.lang.String undoText)
          Commits any pending changes to the JOT model.
 void JotFile.commitFile(boolean isUndoable)
          Deprecated. use commitFile() or commitFile(String);
 void JotFile.commitFile(boolean isUndoable, java.lang.Object origin)
          Deprecated. use commitFile(Object) or commitFile(Object, String)
 void JotFile.commitFile(boolean isUndoable, java.lang.Object origin, java.lang.String undoText)
          Deprecated. use commitFile(Object) or commitFile(Object, String)
 void JotFile.rollbackFile()
          Rolls back any pending changes to the JOT model.
 JotDocComment JotFile.setDocComment(JotClass cls, java.lang.String text)
          Sets the JavaDoc comment for a class.
 JotDocComment JotFile.getDocComment(JotClass cls)
          Retrieves the current JavaDoc comment for a class.
 JotComment JotFile.createComment(int type, java.lang.String text)
          Creates a new comment.
 void JotFile.addComment(JotFileElement elem, boolean before, JotComment comment)
          Adds a comment to this file.
 void JotFile.removeComment(JotComment comment)
          Removes an existing comment.
 JotComment[] JotFile.getComments()
          Retrieves all the file-level comments.
 JotComment JotFile.getComment(JotFileElement elem, boolean before)
          Retrieves the nearest comment to an element.
 void JotFile.addBlankLine(JotFileElement elem, boolean before)
          Adds a blank line to this file.
 java.lang.String JotFile.getQualifiedName(java.lang.String typeName)
          Determines the fully qualified name for a given type name.
 JotElement JotFile.getElementAtCharacterOffset(int offset)
          Retrieves the JotElement that contains the given character offset.
 JotElement JotFile.getNearestElement(int offset)
          Retrieves the nearest element at, or to the right of a given offset, ignoring whitespace that may be present in a containing element (such as a code block)
 


Extension SDK

 

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