Commit e6fa04a8 authored by Lionel Seinturier's avatar Lionel Seinturier
Browse files

Split the Util class in different Helper classes with more relevant names.

parent 7c15f3c2
......@@ -25,7 +25,9 @@ package org.ow2.frascati.tinfi.control.intent
import java.lang.annotation.Annotation
import java.lang.reflect.Method
import scala.collection.mutable.HashMap
import org.objectweb.fractal.api.Component
import org.objectweb.fractal.api.Interface
import org.objectweb.fractal.api.`type`.InterfaceType
......@@ -33,15 +35,15 @@ import org.objectweb.fractal.julia.BasicControllerTrait
import org.objectweb.fractal.julia.ComponentInterface
import org.objectweb.fractal.julia.InitializationContext
import org.objectweb.fractal.julia.UseComponentTrait
import org.objectweb.fractal.juliac.ipf.AnnotatedElementFilter
import org.objectweb.fractal.juliac.ipf.ClassHelper
import org.objectweb.fractal.juliac.ipf.Filters
import org.objectweb.fractal.juliac.runtime.ClassLoaderFcItf
import org.objectweb.fractal.juliac.runtime.ClassLoaderItf
import org.objectweb.fractal.juliac.runtime.Juliac
import org.ow2.frascati.tinfi.TinfiComponentInterceptor
import org.ow2.frascati.tinfi.TinfiRuntimeException
import org.ow2.frascati.tinfi.api.IntentHandler
import org.objectweb.fractal.juliac.ipf.AnnotatedElementFilter
import org.objectweb.fractal.juliac.ipf.Filters
import org.objectweb.fractal.juliac.ipf.Util
/**
* Trait implementing the {@link SCAIntentController} interface for scaPrimitive
......@@ -114,7 +116,7 @@ with org.ow2.frascati.tinfi.api.control.SCAIntentControllerTrait {
var ret = List[Method]()
// Retrieve all methods annotated with annotcl
val methods = Util.getAllMethods(cl)
val methods = ClassHelper.getAllMethods(cl)
val filter = new AnnotatedElementFilter(annotcl.getName)
val ms = Filters.filter(methods,filter)
......
Supports Markdown
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