tmf: Add generics to ITmfEventAspect
[deliverable/tracecompass.git] / btf / org.eclipse.tracecompass.btf.core / src / org / eclipse / tracecompass / btf / core / trace / BtfEventAspects.java
index e14a70305b232b4b770c1021054e57b44aacb5ab..49a6bff89177c9dbf12565cc25503ba4f6a87639 100644 (file)
@@ -33,7 +33,7 @@ public final class BtfEventAspects {
 
     private BtfEventAspects() {}
 
-    private static final Iterable<ITmfEventAspect> BTF_ASPECTS =
+    private static final Iterable<ITmfEventAspect<?>> BTF_ASPECTS =
             ImmutableList.of(
                     ITmfEventAspect.BaseAspects.TIMESTAMP,
                     new BtfSourceAspect(),
@@ -48,7 +48,7 @@ public final class BtfEventAspects {
     /**
      * The "source" aspect, whose value comes from {@link ITmfEvent#getSource()}
      */
-    private static class BtfSourceAspect implements ITmfEventAspect {
+    private static class BtfSourceAspect implements ITmfEventAspect<String> {
 
         @Override
         public String getName() {
@@ -74,7 +74,7 @@ public final class BtfEventAspects {
      * The "target" aspect, taking its value from
      * {@link ITmfEvent#getTarget()}.
      */
-    private static class BtfTargetAspect implements ITmfEventAspect {
+    private static class BtfTargetAspect implements ITmfEventAspect<String> {
 
         @Override
         public String getName() {
@@ -101,7 +101,7 @@ public final class BtfEventAspects {
      *
      * @return The aspects
      */
-    public static Iterable<ITmfEventAspect> getAspects() {
+    public static Iterable<ITmfEventAspect<?>> getAspects() {
         return BTF_ASPECTS;
     }
 }
\ No newline at end of file
This page took 0.025311 seconds and 5 git commands to generate.