public Void visitExecutable()

in src/main/java/com/amazonaws/eclipse/simpleworkflow/asynchrony/annotationprocessor/ActivitiesDeclarationVisitor.java [61:87]


    public Void visitExecutable(ExecutableElement method, ProcessingEnvironment env) {
        String prefix = activitiesDefinition.getPrefix();
        String version = activitiesDefinition.getVersion();
        if (parentActivities != null) {
            if (prefix == null || prefix.isEmpty()) {
                prefix = parentActivities.getPrefix();
            }
            
            if (version == null || version.isEmpty()) {
                version = parentActivities.getVersion();
            }
        }
        
        String activityName = ProcessorUtils.computeActivityName(
                prefix, activitiesDefinition.getInterfaceName(), method);
        String activityVersion = ProcessorUtils.computeActivityVersion(version,
                method);
        
        ActivityMethod activity = new ActivityMethod(activityName, activityVersion);
        setMethodInfo(method, activity, activitiesDefinition.getPackageName());
        
        activity.setAnnotationsToCopy(ProcessorUtils.getAnnotationsText(env, method, annotationsToExcludeFromCopying));
        
        activitiesDefinition.getActivities().add(activity);
        
        return super.visitExecutable(method, env);
    }