Fixed a Bug for a null Pointer Exception
This commit is contained in:
parent
c5c8ffeed1
commit
76a291ab41
@ -615,7 +615,7 @@ public class JavaTXCompiler {
|
||||
});
|
||||
|
||||
Set<String> constructorParaTypeVarNames = allClasses.stream().map(x -> x.getConstructors().stream()
|
||||
.map(y -> y.getParameterList().getFormalparalist().stream()
|
||||
.filter(y -> y != null).map(y -> y.getParameterList().getFormalparalist().stream()
|
||||
.filter(z -> z.getType() instanceof TypePlaceholder)
|
||||
.map(z -> ((TypePlaceholder) z.getType()).getName())
|
||||
.collect(Collectors.toCollection(HashSet::new)))
|
||||
|
Loading…
Reference in New Issue
Block a user