Commit 5866647f authored by Lionel Seinturier's avatar Lionel Seinturier

Refactor to decrease the dependency to Juliac.

parent 6452c02a
......@@ -89,7 +89,6 @@ extends AbstractInterceptorSourceCodeGenerator {
/*
* Add type parameters if any.
*/
Class<?> proxycl = jc.loadClass(signature);
String[] tpnames = ClassHelper.getTypeParameterNames(proxycl);
if( tpnames.length != 0 ) {
String s = ClassHelper.getTypeParameterNamesSignature(tpnames);
......
......@@ -70,7 +70,6 @@ extends InterfaceImplementationClassGenerator {
*/
String signature = it.getFcItfSignature();
sb.append(signature);
Class<?> proxycl = jc.loadClass(signature);
String[] tpnames = ClassHelper.getTypeParameterNames(proxycl);
if( tpnames.length != 0 ) {
String s = ClassHelper.getTypeParameterNamesSignature(tpnames);
......
......@@ -103,7 +103,6 @@ extends AbstractProxyClassGenerator {
*/
String signature = it.getFcItfSignature();
sb.append(signature);
Class<?> proxycl = jc.loadClass(signature);
String[] tpnames = ClassHelper.getTypeParameterNames(proxycl);
if( tpnames.length != 0 ) {
String s = ClassHelper.getTypeParameterNamesSignature(tpnames);
......@@ -122,7 +121,6 @@ extends AbstractProxyClassGenerator {
* if any.
*/
String signature = it.getFcItfSignature();
Class<?> proxycl = jc.loadClass(signature);
String[] tpnames = ClassHelper.getTypeParameterNames(proxycl);
if( tpnames.length != 0 ) {
String s = ClassHelper.getTypeParameterNamesSignature(tpnames);
......@@ -209,7 +207,7 @@ extends AbstractProxyClassGenerator {
if( oneWayMeth != null ) {
Class<?> rtype = proxym.getReturnType();
if( ! rtype.getName().equals("void") ) {
UClass uc = UClass.get(proxycl);
UClass<?> uc = UClass.get(proxycl);
final String msg =
"@OneWay annotated method "+proxym.toString()+" in "+
uc.toString(proxycl)+" should return void";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment