if( methodMapping.getObfName().equals( "<init>" ) )
{
continue;
}
MethodEntry methodEntry = new MethodEntry(
classEntry,
methodMapping.getObfName(),
methodMapping.getObfSignature()
);
if( !destIndex.containsObfBehavior( methodEntry ) )
{
System.err.println( "WARNING: method doesn't match: " + methodEntry );
// show the available methods
System.err.println( "\tAvailable dest methods:" );
CtClass c = destLoader.loadClass( classMapping.getObfName() );
for( CtBehavior behavior : c.getDeclaredBehaviors() )
{
MethodEntry declaredMethodEntry = new MethodEntry(
new ClassEntry( classMapping.getObfName() ),
behavior.getName(),
behavior.getSignature()
);
System.err.println( "\t\t" + declaredMethodEntry );
}
System.err.println( "\tAvailable source methods:" );
c = sourceLoader.loadClass( matchedClassNames.inverse().get( classMapping.getObfName() ) );
for( CtBehavior behavior : c.getDeclaredBehaviors() )
{
MethodEntry declaredMethodEntry = new MethodEntry(
new ClassEntry( classMapping.getObfName() ),
behavior.getName(),
behavior.getSignature()
);
System.err.println( "\t\t" + declaredMethodEntry );