|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SourceException | |
org.openide.src | The parsing results of Java sources and the result of Java Reflection may be uniformly accessed as source elements. |
Uses of SourceException in org.openide.src |
Subclasses of SourceException in org.openide.src | |
static class |
SourceException.IO
|
static class |
SourceException.Protection
|
static class |
SourceException.Veto
This is a wrapper over an unspecified VetoException thrown from a VetoableListener during some change. |
Methods in org.openide.src that return SourceException | |
SourceException |
SourceVetoException.getNestedException()
|
Methods in org.openide.src that throw SourceException | |
void |
SourceElement.setPackage(Identifier id)
Set the package of this source file. |
void |
SourceElement.setImports(Import[] imprt)
Set all imports. |
void |
SourceElement.addImport(Import el)
Add an import. |
void |
SourceElement.addImports(Import[] els)
Add some imports. |
void |
SourceElement.removeImport(Import el)
Remove an import. |
void |
SourceElement.removeImports(Import[] els)
Remove some imports. |
void |
SourceElement.addClass(ClassElement el)
Add a new top-level class. |
void |
SourceElement.addClasses(ClassElement[] els)
Add some new top-level classes. |
void |
SourceElement.removeClass(ClassElement el)
Remove an top-level class. |
void |
SourceElement.removeClasses(ClassElement[] els)
Remove some top-level classes. |
void |
SourceElement.setClasses(ClassElement[] els)
Set the top-level classes. |
void |
SourceElement.runAtomicAsUser(Runnable run)
Executes given runnable in "user mode" does not allowing any modifications to parts of text marked as guarded. |
void |
SourceElement.Impl.setPackage(Identifier id)
Set the package of this source file. |
void |
SourceElement.Impl.changeImports(Import[] elems,
int action)
Change the set of imports. |
void |
SourceElement.Impl.changeClasses(ClassElement[] elems,
int action)
Change the set of top-level classes. |
void |
SourceElement.Impl.runAtomicAsUser(Runnable run)
Executes given runnable in "user mode" does not allowing any modifications to parts of text marked as guarded. |
void |
MethodElement.setReturn(Type ret)
Set the method's return type. |
void |
MethodElement.setName(Identifier name)
Set the name of this member. |
void |
MethodElement.Impl.setReturn(Type ret)
Set the method's return type. |
void |
MemberElement.setModifiers(int mod)
Set the modifier flags for this element. |
void |
MemberElement.setName(Identifier name)
Set the name of this member. |
void |
MemberElement.Impl.setModifiers(int mod)
Set the modifier flags for this element. |
void |
MemberElement.Impl.setName(Identifier name)
Set the name of this member. |
void |
JavaDoc.setRawText(String s)
Set the raw text of the comment. |
void |
JavaDoc.setText(String s)
Set the actual text. |
void |
JavaDoc.clearJavaDoc()
Clears the javadoc from the source. |
void |
JavaDoc.changeTags(JavaDocTag[] tags,
int action)
Adds removes or sets tags used in this comment |
void |
InitializerElement.setStatic(boolean stat)
Set the static flag for this initializer. |
void |
InitializerElement.setBody(String s)
Set the body of this initializer. |
void |
InitializerElement.Impl.setStatic(boolean stat)
Set the static flag for this initializer. |
void |
InitializerElement.Impl.setBody(String s)
Set the body of this initializer. |
void |
FieldElement.setType(Type type)
Set the value type of the field. |
void |
FieldElement.setInitValue(String value)
Set the initial value of the field. |
void |
FieldElement.setName(Identifier name)
Set the name of this member. |
void |
FieldElement.Impl.setType(Type type)
Set the value type of the field. |
void |
FieldElement.Impl.setInitValue(String value)
Set the initial value of the field. |
void |
ConstructorElement.setParameters(MethodParameter[] params)
Set the method parameters. |
void |
ConstructorElement.setExceptions(Identifier[] exceptions)
Set the array of thrown exceptions. |
void |
ConstructorElement.setBody(String s)
Set the body of the constructor. |
void |
ConstructorElement.Impl.setParameters(MethodParameter[] params)
Set the method parameters. |
void |
ConstructorElement.Impl.setExceptions(Identifier[] exceptions)
Set the thrown exceptions. |
void |
ConstructorElement.Impl.setBody(String s)
Set the body. |
void |
ClassElement.setClassOrInterface(boolean isClass)
Set whether this is really a class, or an interface. |
void |
ClassElement.setName(Identifier name)
Set the name of this member. |
void |
ClassElement.setSuperclass(Identifier superClass)
Set the superclass of this class. |
void |
ClassElement.addInitializer(InitializerElement el)
Add a new initializer block to this class. |
void |
ClassElement.addInitializers(InitializerElement[] els)
Add some initializer blocks to this class. |
void |
ClassElement.removeInitializer(InitializerElement el)
Remove an initializer block from this class. |
void |
ClassElement.removeInitializers(InitializerElement[] els)
Remove some initializer blocks from this class. |
void |
ClassElement.setInitializers(InitializerElement[] els)
Set the initializer blocks for this class. |
void |
ClassElement.addField(FieldElement el)
Add a new field to the class. |
void |
ClassElement.addFields(FieldElement[] els)
Add some new fields to the class. |
void |
ClassElement.removeField(FieldElement el)
Remove a field from the class. |
void |
ClassElement.removeFields(FieldElement[] els)
Remove some fields from the class. |
void |
ClassElement.setFields(FieldElement[] els)
Set the fields for this class. |
void |
ClassElement.addMethod(MethodElement el)
Add a method to this class. |
void |
ClassElement.addMethods(MethodElement[] els)
Add some methods to this class. |
void |
ClassElement.removeMethod(MethodElement el)
Remove a method from this class. |
void |
ClassElement.removeMethods(MethodElement[] els)
Remove some methods from this class. |
void |
ClassElement.setMethods(MethodElement[] els)
Set the methods for this class. |
void |
ClassElement.addConstructor(ConstructorElement el)
Add a constructor to this class. |
void |
ClassElement.addConstructors(ConstructorElement[] els)
Add some constructors to this class. |
void |
ClassElement.removeConstructor(ConstructorElement el)
Remove a constructor from this class. |
void |
ClassElement.removeConstructors(ConstructorElement[] els)
Remove some constructors from this class. |
void |
ClassElement.setConstructors(ConstructorElement[] els)
Set the constructors for this class. |
void |
ClassElement.addClass(ClassElement el)
Add a new inner class to this class. |
void |
ClassElement.addClasses(ClassElement[] els)
Add some new inner classes to this class. |
void |
ClassElement.removeClass(ClassElement el)
Remove an inner class from this class. |
void |
ClassElement.removeClasses(ClassElement[] els)
Remove some inner classes from this class. |
void |
ClassElement.setClasses(ClassElement[] els)
Set the inner classes for this class. |
void |
ClassElement.addInterface(Identifier in)
Add an interface to this class. |
void |
ClassElement.addInterfaces(Identifier[] ins)
Add some interfaces to this class. |
void |
ClassElement.removeInterface(Identifier in)
Remove an interface from this class. |
void |
ClassElement.removeInterfaces(Identifier in)
Deprecated. the method's name is incorrect; please use removeInterface(i) instead. |
void |
ClassElement.removeInterfaces(Identifier[] ins)
Remove some interfaces from this class. |
void |
ClassElement.removeInterface(Identifier[] ins)
Deprecated. the method's name is incorrect; please use removeInterfaces(ins) instead. |
void |
ClassElement.setInterfaces(Identifier[] ids)
Set the interfaces for this class. |
void |
ClassElement.Impl.setSuperclass(Identifier superClass)
Set the superclass for this class. |
void |
ClassElement.Impl.setClassOrInterface(boolean isClass)
Set whether this is a class or interface. |
void |
ClassElement.Impl.changeInitializers(InitializerElement[] elems,
int action)
Change the set of initializers. |
void |
ClassElement.Impl.changeFields(FieldElement[] elems,
int action)
Change the set of fields. |
void |
ClassElement.Impl.changeMethods(MethodElement[] elems,
int action)
Change the set of methods. |
void |
ClassElement.Impl.changeConstructors(ConstructorElement[] elems,
int action)
Change the set of constructors. |
void |
ClassElement.Impl.changeClasses(ClassElement[] elems,
int action)
Change the set of inner classes. |
void |
ClassElement.Impl.changeInterfaces(Identifier[] ids,
int action)
Change the set of implemented/extended interfaces. |
Constructors in org.openide.src with parameters of type SourceException | |
SourceVetoException(SourceException nested)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |