File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
src/main/java/com/fasterxml/jackson/databind/introspect Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 69
69
<version >1.6.5</version >
70
70
<scope >test</scope >
71
71
</dependency >
72
+ <dependency >
73
+ <groupId >org.assertj</groupId >
74
+ <artifactId >assertj-core</artifactId >
75
+ <version >3.8.0</version >
76
+ <scope >test</scope >
77
+ </dependency >
78
+
72
79
<!-- For testing TestNoClassDefFoundDeserializer -->
73
80
<dependency >
74
81
<groupId >javax.measure</groupId >
Original file line number Diff line number Diff line change 1
1
package com .fasterxml .jackson .databind .introspect ;
2
2
3
3
import java .lang .annotation .Annotation ;
4
+ import java .lang .reflect .Modifier ;
4
5
import java .lang .reflect .Parameter ;
5
6
6
7
import com .fasterxml .jackson .databind .JavaType ;
@@ -85,16 +86,21 @@ public final AnnotatedParameter getParameter(int index) {
85
86
}
86
87
87
88
public abstract int getParameterCount ();
88
-
89
89
public abstract Class <?> getRawParameterType (int index );
90
-
91
90
public abstract JavaType getParameterType (int index );
92
91
93
92
/**
94
93
* @since 3.0
95
94
*/
96
95
public abstract Parameter [] getNativeParameters ();
97
96
97
+ /**
98
+ * @since 3.0
99
+ */
100
+ public boolean isStatic () {
101
+ return Modifier .isStatic (getModifiers ());
102
+ }
103
+
98
104
public final int getAnnotationCount () { return _annotations .size (); }
99
105
100
106
/**
You can’t perform that action at this time.
0 commit comments