1 19 20 package org.netbeans.modules.java.bridge; 21 22 import org.openide.src.*; 23 24 32 public class NullBinding implements Binding.Class, Binding.Method, Binding.Field, 33 Binding.Initializer, Binding.Source, Binding.Import { 34 public NullBinding() { 35 } 36 37 public void changeBody(String bodyString) throws SourceException { 38 } 39 public void changeClassType(boolean properClass) throws SourceException { 40 } 41 public void changeExceptions(Identifier[] exceptions) throws SourceException { 42 } 43 public void changeInitializer(String newInitializer) throws SourceException { 44 } 45 public void changeInterfaces(Identifier[] replaceWith) throws SourceException { 46 } 47 public void changeModifiers(int newMods) throws SourceException { 48 } 49 public void changeName(String newName) throws SourceException { 50 } 51 public void changeName(Identifier name) throws SourceException { 52 } 53 public void changeParameters(MethodParameter[] params) throws SourceException { 54 } 55 public void changeReturnType(Type type) throws SourceException { 56 } 57 public void changeStatic(boolean enable) throws SourceException { 58 } 59 public void changeSuperclass(Identifier id) throws SourceException { 60 } 61 public void changeType(Type newType) throws SourceException { 62 } 63 public void create() throws SourceException, IllegalStateException { 64 } 65 public void makeAbstract() throws SourceException { 66 } 67 public void createBody(String body) throws SourceException { 68 } 69 public void replaceBody(String body) throws SourceException { 70 } 71 public void copyBody(String body) { 72 } 73 public String getBodyContent() throws SourceException { 74 return null; 75 } 76 public void remove() throws SourceException, IllegalStateException { 77 } 78 public void updateFrom(Binding other) { 79 } 80 81 public void insert(Binding one, Binding two) { 82 } 83 84 public void replace(Binding one, Binding two) { 85 } 86 87 public void reorder(java.util.Map targetmap) { 88 } 89 90 public boolean canInsertAfter(Binding b) { 91 return true; 92 } 93 94 public Binding.Container getClassSection() { 95 return this; 96 } 97 98 public Binding.Container getImportsSection() { 99 return this; 100 } 101 102 public void changePackage(Identifier id) throws SourceException { 103 } 104 105 public void changeImport(org.openide.src.Import i) throws SourceException { 106 } 107 108 public void changeJavaDoc(JavaDoc impl) throws SourceException { 109 } 110 111 public void changeMembers(MultiPropertyChangeEvent evt) throws SourceException { 112 } 113 114 } 115 | Popular Tags |