Gravin

Results 5 issues of Gravin

like below class, cant instrument, protected Class getTypeForFactoryMethod(String beanName, RootBeanDefinition mbd, Class... typesToMatch) { will report with error java.lang.NullPointerException at javassist.bytecode.stackmap.TypeData$ClassName.getArrayType(TypeData.java:871) at javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes1(TypeData.java:419) at javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes(TypeData.java:411) at javassist.bytecode.stackmap.TypeData$TypeVar.dfs(TypeData.java:357) at javassist.bytecode.stackmap.TypeData$TypeVar.dfs(TypeData.java:340) at...

easy to get the first line of method, int lineNumber = method.getMethodInfo().getLineNumber(0); but how to get the last line? tks!