1 11 package org.eclipse.jdt.internal.compiler; 12 13 import org.eclipse.jdt.core.compiler.CategorizedProblem; 14 15 public class SourceElementRequestorAdapter implements ISourceElementRequestor { 16 17 20 public void acceptConstructorReference( 21 char[] typeName, 22 int argCount, 23 int sourcePosition) { 24 } 26 27 30 public void acceptFieldReference(char[] fieldName, int sourcePosition) { 31 } 33 34 37 public void acceptImport( 38 int declarationStart, 39 int declarationEnd, 40 char[][] tokens, 41 boolean onDemand, 42 int modifiers) { 43 } 45 46 49 public void acceptLineSeparatorPositions(int[] positions) { 50 } 52 53 56 public void acceptMethodReference( 57 char[] methodName, 58 int argCount, 59 int sourcePosition) { 60 } 62 63 66 public void acceptPackage( 67 int declarationStart, 68 int declarationEnd, 69 char[] name) { 70 } 72 73 76 public void acceptProblem(CategorizedProblem problem) { 77 } 79 80 83 public void acceptTypeReference( 84 char[][] typeName, 85 int sourceStart, 86 int sourceEnd) { 87 } 89 90 93 public void acceptTypeReference(char[] typeName, int sourcePosition) { 94 } 96 97 100 public void acceptUnknownReference( 101 char[][] name, 102 int sourceStart, 103 int sourceEnd) { 104 } 106 107 110 public void acceptUnknownReference(char[] name, int sourcePosition) { 111 } 113 114 117 public void enterCompilationUnit() { 118 } 120 121 public void enterConstructor(MethodInfo methodInfo) { 122 } 124 125 128 public void enterField(FieldInfo fieldInfo) { 129 } 131 132 135 public void enterInitializer(int declarationStart, int modifiers) { 136 } 138 139 public void enterMethod(MethodInfo methodInfo) { 140 } 142 143 public void enterType(TypeInfo typeInfo) { 144 } 146 147 150 public void exitCompilationUnit(int declarationEnd) { 151 } 153 154 157 public void exitConstructor(int declarationEnd) { 158 } 160 161 164 public void exitField(int initializationStart, int declarationEnd, int declarationSourceEnd) { 165 } 167 168 171 public void exitInitializer(int declarationEnd) { 172 } 174 175 178 public void exitMethod(int declarationEnd, int defaultValueStart, int defaultValueEnd) { 179 } 181 182 185 public void exitType(int declarationEnd) { 186 } 188 189 } 190 191 | Popular Tags |