You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output.addInterface("com.blah.blah.blah.ConfigAware<T>"); // output is of type InterfaceCapableSource<?>
gives the following exception stack trace:
java.lang.IllegalArgumentException: Invalid identifier : >ConfigAware<T><
at org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:247)
at org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2793)
at org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.AST.newName(AST.java:2443)
at org.jboss.forge.roaster.model.impl.AbstractInterfaceCapableJavaSource.addInterface(AbstractInterfaceCapableJavaSource.java:94)
at com.tccc.kos.sdk.generator.builder.TypeBase.copyInterfaces(TypeBase.java:320)
at com.tccc.kos.sdk.generator.builder.TypeClass.parse(TypeClass.java:34)
It happens because the target class implements the ConfigAware<T> interface, which contains the <T> generic.
Any ideas?
Was there a recent change to this code? (It works as expected in version 2.26.0.Final)
Running:
gives the following exception stack trace:
It happens because the target class implements the
ConfigAware<T>
interface, which contains the<T>
generic.Any ideas?
Was there a recent change to this code? (It works as expected in version 2.26.0.Final)
Originally posted by @rob-stoecklein in #272 (comment)
The text was updated successfully, but these errors were encountered: