public ConstructorDeclaration getConstructor ( String signature ) { for ( EntityDeclaration node : type . getMembers ( ) ) { if ( node . getEntityType ( ) == EntityType . CONSTRUCTOR ) { ConstructorDeclaration cons = ( ConstructorDeclaration ) node ; if ( signature . equals ( signature ( cons ) ) ) { return cons ; } } } return null ; }
Returns the Procyon method definition for a specified constructor or null if not found .