(JClass declaringClass, String name, Set<Modifier> modifiers,
List<Type> paramTypes, Type returnType, List<ClassType> exceptions,
@Nullable MethodGSignature gSignature,
AnnotationHolder annotationHolder,
@Nullable List<AnnotationHolder> paramAnnotations,
@Nullable List<String> paramNames,
Object methodSource)
| 79 | private transient IR ir; |
| 80 | |
| 81 | public JMethod(JClass declaringClass, String name, Set<Modifier> modifiers, |
| 82 | List<Type> paramTypes, Type returnType, List<ClassType> exceptions, |
| 83 | @Nullable MethodGSignature gSignature, |
| 84 | AnnotationHolder annotationHolder, |
| 85 | @Nullable List<AnnotationHolder> paramAnnotations, |
| 86 | @Nullable List<String> paramNames, |
| 87 | Object methodSource) { |
| 88 | super(declaringClass, name, modifiers, annotationHolder); |
| 89 | this.paramTypes = List.copyOf(paramTypes); |
| 90 | this.returnType = returnType; |
| 91 | this.exceptions = List.copyOf(exceptions); |
| 92 | this.signature = StringReps.getSignatureOf(this); |
| 93 | this.subsignature = Subsignature.get(name, paramTypes, returnType); |
| 94 | this.gSignature = gSignature; |
| 95 | this.paramAnnotations = paramAnnotations; |
| 96 | this.paramNames = paramNames; |
| 97 | this.methodSource = methodSource; |
| 98 | } |
| 99 | |
| 100 | public boolean isAbstract() { |
| 101 | return Modifier.hasAbstract(modifiers); |
nothing calls this directly
no test coverage detected