blob: 16574b2b5166fc4cce6895dec7a0d0fe05844805 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.abicheck.signature;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class JavaClassSignature {
public final String superClass;
public final Set<String> interfaces;
public final List<String> attributes;
public final Set<String> methods;
public final Set<String> fields;
public JavaClassSignature(@JsonProperty("superClass") String superClass,
@JsonProperty("interfaces") Set<String> interfaces,
@JsonProperty("attributes") List<String> attributes,
@JsonProperty("methods") Set<String> methods,
@JsonProperty("fields") Set<String> fields) {
this.superClass = superClass;
this.interfaces = interfaces;
this.attributes = attributes;
this.methods = methods;
this.fields = fields;
}
}
|