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.
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.Class<?>[] value()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.annotation.Annotation
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()

hashCode

public int hashCode()
Specified by:
hashCode in interface java.lang.annotation.Annotation
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.lang.annotation.Annotation
Overrides:
equals in class java.lang.Object