org.simantics.databoard.annotations
Class ArgumentImpl

java.lang.Object
  extended by org.simantics.databoard.annotations.ArgumentImpl
All Implemented Interfaces:
java.lang.annotation.Annotation, Arguments

public class ArgumentImpl
extends java.lang.Object
implements Arguments


Constructor Summary
ArgumentImpl(java.lang.Class<?>... args)
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
           
static Arguments dropArguments(Arguments src, int count)
          Drop first arguments from an argument list.
 java.lang.Class<?>[] value()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
 

Constructor Detail

ArgumentImpl

public ArgumentImpl(java.lang.Class<?>... args)
Method Detail

dropArguments

public static Arguments dropArguments(Arguments src,
                                      int count)
Drop first arguments from an argument list. If all were dropped, null is returned.

Parameters:
src - source argument or null
count - argument count
Returns:
Argument or null.

annotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
Specified by:
annotationType in interface java.lang.annotation.Annotation

value

public java.lang.Class<?>[] value()