List of usage examples for org.eclipse.jdt.internal.compiler.classfmt MethodInfo getAnnotatedParametersCount
@Override public int getAnnotatedParametersCount()
From source file:io.takari.maven.plugins.compile.jdt.ClassfileDigester.java
License:Open Source License
private void updateMethod(MethodInfo methodInfo) { // generic signature updateChars(methodInfo.getGenericSignature()); updateInt(methodInfo.getModifiers()); updateLong(methodInfo.getTagBits() & TagBits.AnnotationDeprecated); updateAnnotations(methodInfo.getAnnotations()); // parameter annotations: for (int i = 0; i < methodInfo.getAnnotatedParametersCount(); i++) { updateAnnotations(methodInfo.getParameterAnnotations(i)); }/*from w ww.j a v a 2 s .c o m*/ updateChars(methodInfo.getSelector()); updateChars(methodInfo.getMethodDescriptor()); updateChars(methodInfo.getGenericSignature()); char[][] thrownExceptions = methodInfo.getExceptionTypeNames(); for (int i = 0; i < thrownExceptions.length; i++) { updateChars(thrownExceptions[i]); } }