Lines 44-51
Link Here
|
44 |
|
44 |
|
45 |
package org.netbeans.debugger.registry; |
45 |
package org.netbeans.debugger.registry; |
46 |
|
46 |
|
|
|
47 |
import java.util.ArrayList; |
47 |
import java.util.Arrays; |
48 |
import java.util.Arrays; |
|
|
49 |
import java.util.Collection; |
50 |
import java.util.Collections; |
48 |
import java.util.HashSet; |
51 |
import java.util.HashSet; |
|
|
52 |
import java.util.Iterator; |
49 |
import java.util.List; |
53 |
import java.util.List; |
50 |
import java.util.Map; |
54 |
import java.util.Map; |
51 |
import java.util.Set; |
55 |
import java.util.Set; |
Lines 59-74
Link Here
|
59 |
import javax.lang.model.element.ExecutableElement; |
63 |
import javax.lang.model.element.ExecutableElement; |
60 |
import javax.lang.model.element.Modifier; |
64 |
import javax.lang.model.element.Modifier; |
61 |
import javax.lang.model.element.TypeElement; |
65 |
import javax.lang.model.element.TypeElement; |
|
|
66 |
import javax.lang.model.element.VariableElement; |
62 |
import javax.lang.model.type.DeclaredType; |
67 |
import javax.lang.model.type.DeclaredType; |
|
|
68 |
import javax.lang.model.type.MirroredTypeException; |
69 |
import javax.lang.model.type.MirroredTypesException; |
63 |
import javax.lang.model.type.TypeKind; |
70 |
import javax.lang.model.type.TypeKind; |
64 |
import javax.lang.model.type.TypeMirror; |
71 |
import javax.lang.model.type.TypeMirror; |
65 |
import javax.lang.model.util.ElementFilter; |
72 |
import javax.lang.model.util.ElementFilter; |
66 |
|
73 |
|
67 |
import org.netbeans.api.debugger.LazyActionsManagerListener; |
74 |
import org.netbeans.api.debugger.LazyActionsManagerListener; |
68 |
import org.netbeans.spi.debugger.ActionsProvider; |
75 |
import org.netbeans.spi.debugger.ActionsProvider; |
|
|
76 |
import org.netbeans.spi.debugger.ContextProvider; |
69 |
import org.netbeans.spi.debugger.DebuggerEngineProvider; |
77 |
import org.netbeans.spi.debugger.DebuggerEngineProvider; |
70 |
import org.netbeans.spi.debugger.DebuggerServiceRegistration; |
78 |
import org.netbeans.spi.debugger.DebuggerServiceRegistration; |
|
|
79 |
import org.netbeans.spi.debugger.DebuggerServiceRegistrations; |
71 |
import org.netbeans.spi.debugger.SessionProvider; |
80 |
import org.netbeans.spi.debugger.SessionProvider; |
|
|
81 |
import org.openide.filesystems.annotations.LayerBuilder; |
72 |
import org.openide.filesystems.annotations.LayerBuilder.File; |
82 |
import org.openide.filesystems.annotations.LayerBuilder.File; |
73 |
import org.openide.filesystems.annotations.LayerGeneratingProcessor; |
83 |
import org.openide.filesystems.annotations.LayerGeneratingProcessor; |
74 |
import org.openide.filesystems.annotations.LayerGenerationException; |
84 |
import org.openide.filesystems.annotations.LayerGenerationException; |
Lines 116-121
Link Here
|
116 |
// write(); |
126 |
// write(); |
117 |
cnt++; |
127 |
cnt++; |
118 |
} |
128 |
} |
|
|
129 |
for (Element e : env.getElementsAnnotatedWith(ActionsProvider.Registrations.class)) { |
130 |
ActionsProvider.Registrations regs = e.getAnnotation(ActionsProvider.Registrations.class); |
131 |
for (ActionsProvider.Registration reg : regs.value()) { |
132 |
final String path = reg.path(); |
133 |
final String[] actions = reg.actions(); |
134 |
final String[] mimeTypes = reg.activateForMIMETypes(); |
135 |
handleProviderRegistrationInner(e, ActionsProvider.class, path, actions, mimeTypes); |
136 |
} |
137 |
cnt++; |
138 |
} |
119 |
for (Element e : env.getElementsAnnotatedWith(LazyActionsManagerListener.Registration.class)) { |
139 |
for (Element e : env.getElementsAnnotatedWith(LazyActionsManagerListener.Registration.class)) { |
120 |
LazyActionsManagerListener.Registration reg = e.getAnnotation(LazyActionsManagerListener.Registration.class); |
140 |
LazyActionsManagerListener.Registration reg = e.getAnnotation(LazyActionsManagerListener.Registration.class); |
121 |
|
141 |
|
Lines 139-196
Link Here
|
139 |
} |
159 |
} |
140 |
for (Element e : env.getElementsAnnotatedWith(DebuggerServiceRegistration.class)) { |
160 |
for (Element e : env.getElementsAnnotatedWith(DebuggerServiceRegistration.class)) { |
141 |
DebuggerServiceRegistration reg = e.getAnnotation(DebuggerServiceRegistration.class); |
161 |
DebuggerServiceRegistration reg = e.getAnnotation(DebuggerServiceRegistration.class); |
142 |
|
162 |
// TODO: Get rid of AnnotationMirror after http://bugs.sun.com/view_bug.do?bug_id=6519115 is fixed. |
143 |
// Class[] classes = reg.types(); - Cant NOT do that, classes are not created at compile time. |
163 |
AnnotationMirror am = null; |
144 |
// e.getAnnotationMirrors() - use this not to generate MirroredTypeException |
164 |
for (AnnotationMirror am_ : e.getAnnotationMirrors()) { |
145 |
String classNames = null; |
165 |
if (am_.getAnnotationType().toString().equals(DebuggerServiceRegistration.class.getName())) { |
146 |
for (AnnotationMirror am : e.getAnnotationMirrors()) { |
166 |
am = am_; |
147 |
if (am.getAnnotationType().toString().equals(DebuggerServiceRegistration.class.getName())) { |
167 |
break; |
148 |
Map<? extends ExecutableElement, ? extends AnnotationValue> elementValues = |
|
|
149 |
am.getElementValues(); |
150 |
//System.err.println("am:\n elementValues = "+elementValues); |
151 |
for (ExecutableElement ee : elementValues.keySet()) { |
152 |
if (ee.getSimpleName().contentEquals("types")) { // NOI18N |
153 |
classNames = elementValues.get(ee).getValue().toString(); |
154 |
} |
155 |
} |
156 |
} |
168 |
} |
157 |
} |
169 |
} |
158 |
//System.err.println("classNames before translation = "+classNames); |
170 |
|
159 |
classNames = translateClassNames(classNames); |
171 |
handleServiceRegistration(e, reg, am); |
160 |
if (!implementsInterfaces(e, classNames)) { |
172 |
cnt++; |
161 |
throw new IllegalArgumentException("Annotated element "+e+" does not implement all interfaces " + classNames); |
173 |
} |
|
|
174 |
for (Element e : env.getElementsAnnotatedWith(DebuggerServiceRegistrations.class)) { |
175 |
DebuggerServiceRegistrations regs = e.getAnnotation(DebuggerServiceRegistrations.class); |
176 |
// TODO: Get rid of AnnotationMirror after http://bugs.sun.com/view_bug.do?bug_id=6519115 is fixed. |
177 |
AnnotationMirror amregs = null; |
178 |
for (AnnotationMirror am_ : e.getAnnotationMirrors()) { |
179 |
if (am_.getAnnotationType().toString().equals(DebuggerServiceRegistrations.class.getName())) { |
180 |
amregs = am_; |
181 |
break; |
182 |
} |
162 |
} |
183 |
} |
163 |
//System.err.println("classNames after translation = "+classNames); |
184 |
|
164 |
/* |
185 |
DebuggerServiceRegistration[] regsv = regs.value(); |
165 |
Class[] classes; |
186 |
if (regsv == null || regsv.length == 0) { |
166 |
String classNames; |
187 |
throw new IllegalArgumentException("No service registration for element "+e); |
167 |
try { |
|
|
168 |
classes = reg.types(); |
169 |
//className = clazz.getName(); |
170 |
classNames = null; |
171 |
} catch (MirroredTypeException mtex) { |
172 |
TypeMirror tm = mtex.getTypeMirror(); |
173 |
classes = null; |
174 |
classNames = tm.toString(); |
175 |
} |
188 |
} |
176 |
*/ |
189 |
AnnotationMirror[] ams = new AnnotationMirror[regsv.length]; |
177 |
String path = reg.path(); |
190 |
Map<? extends ExecutableElement, ? extends AnnotationValue> annElementValues = amregs.getElementValues(); |
178 |
if (path != null && path.length() > 0) { |
191 |
for (AnnotationValue av : annElementValues.values()) { |
179 |
path = "Debugger/"+path; |
192 |
Object value = av.getValue(); |
180 |
} else { |
193 |
if (value instanceof Collection) { |
181 |
path = "Debugger"; |
194 |
ams = (AnnotationMirror[]) ((Collection) value).toArray(ams); |
|
|
195 |
} |
182 |
} |
196 |
} |
183 |
layer(e).instanceFile(path, null, null). |
197 |
for (int i = 0; i < regsv.length; i++) { |
184 |
stringvalue(ContextAwareServiceHandler.SERVICE_NAME, instantiableClassOrMethod(e)). |
198 |
handleServiceRegistration(e, regsv[i], ams[i]); |
185 |
//stringvalue(ContextAwareServiceHandler.SERVICE_CLASSES, classNames). - taken from instanceOf so that we do not have to provide it twice |
199 |
} |
186 |
stringvalue("instanceOf", classNames). |
|
|
187 |
methodvalue("instanceCreate", "org.netbeans.spi.debugger.ContextAwareSupport", "createService"). |
188 |
write(); |
189 |
cnt++; |
200 |
cnt++; |
190 |
} |
201 |
} |
191 |
return cnt == annotations.size(); |
202 |
return cnt == annotations.size(); |
192 |
} |
203 |
} |
193 |
|
204 |
|
|
|
205 |
private List<? extends TypeMirror> getTypeMirrors(DebuggerServiceRegistration reg, AnnotationMirror am) { |
206 |
|
207 |
/* TODO uncomment this after http://bugs.sun.com/view_bug.do?bug_id=6519115 is fixed. |
208 |
List<? extends TypeMirror> typeMirrors = null; |
209 |
try { |
210 |
reg.types(); |
211 |
throw new IllegalStateException("No type mirros obtained from element "+e); |
212 |
} catch (MirroredTypeException mte) { |
213 |
typeMirrors = Collections.singletonList(mte.getTypeMirror()); |
214 |
System.err.println("Have one "+typeMirrors.get(0)+" type mirror for element "+e); |
215 |
} catch (MirroredTypesException mte) { |
216 |
typeMirrors = mte.getTypeMirrors(); |
217 |
System.err.println("Have "+typeMirrors.size()+" type mirrors for element "+e); |
218 |
System.err.println(" mirrors = "+typeMirrors); |
219 |
} |
220 |
*/ |
221 |
|
222 |
// TODO: Delete the rest of this method after http://bugs.sun.com/view_bug.do?bug_id=6519115 is fixed. |
223 |
List<TypeMirror> typeMirrors = null; |
224 |
Map<? extends ExecutableElement, ? extends AnnotationValue> elementValues = |
225 |
am.getElementValues(); |
226 |
//System.err.println("am:\n elementValues = "+elementValues); |
227 |
String classNames = null; |
228 |
for (ExecutableElement ee : elementValues.keySet()) { |
229 |
if (ee.getSimpleName().contentEquals("types")) { // NOI18N |
230 |
classNames = elementValues.get(ee).getValue().toString(); |
231 |
} |
232 |
} |
233 |
if (classNames == null) { |
234 |
throw new IllegalArgumentException("Annotation "+am+" does not provide types"); |
235 |
} |
236 |
//System.err.println("classNames before translation = "+classNames); |
237 |
typeMirrors = new ArrayList<TypeMirror>(); |
238 |
int i1 = 0; |
239 |
int i2; |
240 |
while ((i2 = classNames.indexOf(',', i1)) > 0 || i1 < classNames.length()) { |
241 |
if (i2 < 0) i2 = classNames.length(); |
242 |
String className = classNames.substring(i1, i2).trim(); |
243 |
if (className.endsWith(".class")) { |
244 |
className = className.substring(0, className.length() - ".class".length()); |
245 |
} |
246 |
TypeElement type = processingEnv.getElementUtils().getTypeElement(className); |
247 |
typeMirrors.add(type.asType()); |
248 |
i1 = i2 + 1; |
249 |
} |
250 |
//System.err.println("=> type mirrors = "+typeMirrors); |
251 |
|
252 |
return typeMirrors; |
253 |
} |
254 |
|
255 |
private void handleServiceRegistration(Element e, DebuggerServiceRegistration reg, AnnotationMirror am) throws LayerGenerationException { |
256 |
// Class[] classes = reg.types(); - Cant NOT do that, classes are not created at compile time. |
257 |
// e.getAnnotationMirrors() - use this not to generate MirroredTypeException |
258 |
List<? extends TypeMirror> typeMirrors = getTypeMirrors(reg, am); |
259 |
|
260 |
List<? extends TypeMirror> notImplTypeMirrors = implementsInterfaces(e, typeMirrors); |
261 |
if (!notImplTypeMirrors.isEmpty()) { |
262 |
throw new IllegalArgumentException("Annotated element "+e+" does not implement all interfaces " + notImplTypeMirrors); |
263 |
} |
264 |
|
265 |
String path = reg.path(); |
266 |
LayerBuilder lb = layer(e); |
267 |
String className = instantiableClassOrMethod(e); |
268 |
//System.err.println("icm = "+className); |
269 |
|
270 |
StringBuilder classNamesBuilder = new StringBuilder(); |
271 |
for (TypeMirror tm : typeMirrors) { |
272 |
TypeElement te = (TypeElement) processingEnv.getTypeUtils().asElement(tm); |
273 |
String cn; |
274 |
if (te != null) { |
275 |
cn = processingEnv.getElementUtils().getBinaryName(te).toString(); |
276 |
} else { |
277 |
cn = tm.toString(); |
278 |
} |
279 |
if (classNamesBuilder.length() > 0) { |
280 |
classNamesBuilder.append(", "); |
281 |
} |
282 |
classNamesBuilder.append(cn); |
283 |
} |
284 |
|
285 |
if (path != null && path.length() > 0) { |
286 |
path = "Debugger/"+path; |
287 |
} else { |
288 |
path = "Debugger"; |
289 |
} |
290 |
//System.err.println("path = "+path); |
291 |
String basename = className.replace('.', '-'); |
292 |
LayerBuilder.File f = lb.file(path + "/" + basename + ".instance"); |
293 |
//LayerBuilder.File f = lb.instanceFile(path, null, Evaluator.class); |
294 |
f.stringvalue(ContextAwareServiceHandler.SERVICE_NAME, className). |
295 |
//stringvalue("serviceClass", Evaluator.class.getName()). |
296 |
stringvalue("instanceOf", classNamesBuilder.toString()). |
297 |
methodvalue("instanceCreate", "org.netbeans.spi.debugger.ContextAwareSupport", "createService"). |
298 |
position(reg.position()). |
299 |
write(); |
300 |
} |
301 |
|
194 |
private void handleProviderRegistrationInner(Element e, Class providerClass, String path) throws IllegalArgumentException, LayerGenerationException { |
302 |
private void handleProviderRegistrationInner(Element e, Class providerClass, String path) throws IllegalArgumentException, LayerGenerationException { |
195 |
handleProviderRegistrationInner(e, providerClass, path, null, null); |
303 |
handleProviderRegistrationInner(e, providerClass, path, null, null); |
196 |
} |
304 |
} |
Lines 207-215
Link Here
|
207 |
} else { |
315 |
} else { |
208 |
path = "Debugger"; |
316 |
path = "Debugger"; |
209 |
} |
317 |
} |
210 |
File f = layer(e).instanceFile(path, null, providerClass). |
318 |
LayerBuilder lb = layer(e); |
211 |
stringvalue(ContextAwareServiceHandler.SERVICE_NAME, className). |
319 |
String basename = className.replace('.', '-'); |
212 |
stringvalue("serviceClass", providerClass.getName()); |
320 |
LayerBuilder.File f = lb.file(path + "/" + basename + ".instance"); |
|
|
321 |
f.stringvalue(ContextAwareServiceHandler.SERVICE_NAME, className). |
322 |
stringvalue("serviceClass", providerClass.getName()); |
213 |
if (actions != null && actions.length > 0) { |
323 |
if (actions != null && actions.length > 0) { |
214 |
f.stringvalue(ContextAwareServiceHandler.SERVICE_ACTIONS, Arrays.toString(actions)); |
324 |
f.stringvalue(ContextAwareServiceHandler.SERVICE_ACTIONS, Arrays.toString(actions)); |
215 |
} |
325 |
} |
Lines 267-272
Link Here
|
267 |
case CLASS: |
377 |
case CLASS: |
268 |
case INTERFACE: { |
378 |
case INTERFACE: { |
269 |
TypeElement te = (TypeElement) e; |
379 |
TypeElement te = (TypeElement) e; |
|
|
380 |
removeImplementingInterfaces(te.asType(), interfaces); |
381 |
/* |
270 |
List<? extends TypeMirror> interfs = te.getInterfaces(); |
382 |
List<? extends TypeMirror> interfs = te.getInterfaces(); |
271 |
for (TypeMirror tm : interfs) { |
383 |
for (TypeMirror tm : interfs) { |
272 |
e = ((DeclaredType) tm).asElement(); |
384 |
e = ((DeclaredType) tm).asElement(); |
Lines 276-281
Link Here
|
276 |
implementsInterfaces(e, interfaces); |
388 |
implementsInterfaces(e, interfaces); |
277 |
} |
389 |
} |
278 |
} |
390 |
} |
|
|
391 |
*/ |
279 |
break; |
392 |
break; |
280 |
} |
393 |
} |
281 |
case METHOD: { |
394 |
case METHOD: { |
Lines 299-321
Link Here
|
299 |
return interfaces.isEmpty(); |
412 |
return interfaces.isEmpty(); |
300 |
} |
413 |
} |
301 |
|
414 |
|
|
|
415 |
private void removeImplementingInterfaces(TypeMirror tm, Set<String> interfaces) { |
416 |
for (Iterator<String> i = interfaces.iterator(); i.hasNext(); ) { |
417 |
String type = i.next(); |
418 |
TypeMirror typeMirror = |
419 |
processingEnv.getTypeUtils().getDeclaredType( |
420 |
processingEnv.getElementUtils().getTypeElement(type.replace('$', '.'))); |
421 |
|
422 |
if (processingEnv.getTypeUtils().isAssignable(tm, typeMirror)) { |
423 |
i.remove(); |
424 |
} |
425 |
} |
426 |
} |
427 |
|
428 |
private List<? extends TypeMirror> implementsInterfaces(Element e, List<? extends TypeMirror> typeMirrors) { |
429 |
List<TypeMirror> notImplementedMirrors = Collections.emptyList(); |
430 |
switch (e.getKind()) { |
431 |
case CLASS: |
432 |
case INTERFACE: { |
433 |
TypeElement te = (TypeElement) e; |
434 |
TypeMirror tm = te.asType(); |
435 |
for (TypeMirror typeMirror : typeMirrors) { |
436 |
if (!processingEnv.getTypeUtils().isAssignable(tm, typeMirror)) { |
437 |
if (notImplementedMirrors == Collections.EMPTY_LIST) { |
438 |
notImplementedMirrors = new ArrayList<TypeMirror>(); |
439 |
} |
440 |
notImplementedMirrors.add(typeMirror); |
441 |
} |
442 |
} |
443 |
/* |
444 |
TypeMirror typeMirror = type != null ? |
445 |
processingEnv.getTypeUtils().getDeclaredType( |
446 |
processingEnv.getElementUtils().getTypeElement(type.getName().replace('$', '.'))) : |
447 |
null; |
448 |
|
449 |
processingEnv.getTypeUtils().isAssignable(te.asType(), null); |
450 |
*/ |
451 |
//removeImplementingInterfaces(te.asType(), interfaces); |
452 |
/* |
453 |
List<? extends TypeMirror> interfs = te.getInterfaces(); |
454 |
for (TypeMirror tm : interfs) { |
455 |
e = ((DeclaredType) tm).asElement(); |
456 |
String clazz = processingEnv.getElementUtils().getBinaryName((TypeElement) e).toString(); |
457 |
boolean contains = interfaces.remove(clazz); |
458 |
if (!contains) { |
459 |
implementsInterfaces(e, interfaces); |
460 |
} |
461 |
} |
462 |
*/ |
463 |
break; |
464 |
} |
465 |
case METHOD: { |
466 |
TypeMirror retType = ((ExecutableElement) e).getReturnType(); |
467 |
if (retType.getKind().equals(TypeKind.NONE)) { |
468 |
return typeMirrors; |
469 |
} else { |
470 |
TypeElement te = (TypeElement) ((DeclaredType) retType).asElement(); |
471 |
TypeMirror tm = te.asType(); |
472 |
for (TypeMirror typeMirror : typeMirrors) { |
473 |
if (!processingEnv.getTypeUtils().isAssignable(tm, typeMirror)) { |
474 |
if (notImplementedMirrors == Collections.EMPTY_LIST) { |
475 |
notImplementedMirrors = new ArrayList<TypeMirror>(); |
476 |
} |
477 |
notImplementedMirrors.add(typeMirror); |
478 |
} |
479 |
} |
480 |
|
481 |
/* |
482 |
List<? extends TypeMirror> interfs = te.getInterfaces(); |
483 |
for (TypeMirror tm : interfs) { |
484 |
e = ((DeclaredType) tm).asElement(); |
485 |
String clazz = processingEnv.getElementUtils().getBinaryName((TypeElement) e).toString(); |
486 |
interfaces.remove(clazz); |
487 |
} |
488 |
*/ |
489 |
} |
490 |
break; |
491 |
} |
492 |
default: |
493 |
throw new IllegalArgumentException("Annotated element is not loadable as an instance: " + e); |
494 |
} |
495 |
return notImplementedMirrors; |
496 |
} |
497 |
|
302 |
private String instantiableClassOrMethod(Element e) throws IllegalArgumentException, LayerGenerationException { |
498 |
private String instantiableClassOrMethod(Element e) throws IllegalArgumentException, LayerGenerationException { |
303 |
switch (e.getKind()) { |
499 |
switch (e.getKind()) { |
304 |
case CLASS: { |
500 |
case CLASS: { |
305 |
String clazz = processingEnv.getElementUtils().getBinaryName((TypeElement) e).toString(); |
501 |
String clazz = processingEnv.getElementUtils().getBinaryName((TypeElement) e).toString(); |
|
|
502 |
//System.err.println("instantiableClassOrMethod(): class = "+clazz); |
306 |
if (e.getModifiers().contains(Modifier.ABSTRACT)) { |
503 |
if (e.getModifiers().contains(Modifier.ABSTRACT)) { |
307 |
throw new LayerGenerationException(clazz + " must not be abstract", e); |
504 |
throw new LayerGenerationException(clazz + " must not be abstract", e); |
308 |
} |
505 |
} |
309 |
{ |
506 |
{ |
310 |
boolean hasDefaultCtor = false; |
507 |
boolean hasDefaultCtor = false; |
|
|
508 |
boolean hasContextCtor = false; |
311 |
for (ExecutableElement constructor : ElementFilter.constructorsIn(e.getEnclosedElements())) { |
509 |
for (ExecutableElement constructor : ElementFilter.constructorsIn(e.getEnclosedElements())) { |
312 |
if (constructor.getParameters().isEmpty()) { |
510 |
List<? extends VariableElement> parameters = constructor.getParameters(); |
|
|
511 |
//System.err.println(" parameters = "+parameters+", size = "+parameters.size()); |
512 |
if (parameters.isEmpty()) { |
313 |
hasDefaultCtor = true; |
513 |
hasDefaultCtor = true; |
314 |
break; |
514 |
break; |
315 |
} |
515 |
} |
|
|
516 |
if (parameters.size() == 1) { |
517 |
String type = parameters.get(0).asType().toString(); |
518 |
//System.err.println("Param type = "+type); |
519 |
if (ContextProvider.class.getName().equals(type)) { |
520 |
hasContextCtor = true; |
521 |
break; |
522 |
} |
523 |
} |
316 |
} |
524 |
} |
317 |
if (!hasDefaultCtor) { |
525 |
if (!(hasDefaultCtor || hasContextCtor)) { |
318 |
throw new LayerGenerationException(clazz + " must have a no-argument constructor", e); |
526 |
throw new LayerGenerationException(clazz + " must have a no-argument constructor or constuctor taking "+ContextProvider.class.getName()+" as a parameter.", e); |
319 |
} |
527 |
} |
320 |
} |
528 |
} |
321 |
/*propType = processingEnv.getElementUtils().getTypeElement("java.util.Properties").asType(); |
529 |
/*propType = processingEnv.getElementUtils().getTypeElement("java.util.Properties").asType(); |