diff --git a/model/java/config/ant-1.10.14.yaml b/model/java/config/ant-1.10.14.yaml new file mode 100644 index 000000000..cab4deebe --- /dev/null +++ b/model/java/config/ant-1.10.14.yaml @@ -0,0 +1,13 @@ +passThrough: +- function: org.apache.tools.ant.types.FileSet#setDir + copy: + - from: arg(0) + to: + - this + - .org.apache.tools.ant.types.FileSet#path#java.lang.Object +- function: org.apache.tools.ant.types.FileSet#setFile + copy: + - from: arg(0) + to: + - this + - .org.apache.tools.ant.types.FileSet#path#java.lang.Object diff --git a/model/java/config/commons-codec-commons-codec-1.16.0.yaml b/model/java/config/commons-codec-commons-codec-1.16.0.yaml new file mode 100644 index 000000000..c12bda613 --- /dev/null +++ b/model/java/config/commons-codec-commons-codec-1.16.0.yaml @@ -0,0 +1,17 @@ +passThrough: +- function: org.apache.commons.codec.binary.Base64#encodeBase64String + copy: + - from: arg(0) + to: result +- function: org.apache.commons.codec.binary.Base64#encodeBase64URLSafeString + copy: + - from: arg(0) + to: result +- function: org.apache.commons.codec.binary.Base64#encodeBase64URLSafe + copy: + - from: arg(0) + to: result +- function: org.apache.commons.codec.binary.Base64#encodeBase64Chunked + copy: + - from: arg(0) + to: result diff --git a/model/java/config/commons-io-commons-io-2.15.1.yaml b/model/java/config/commons-io-commons-io-2.15.1.yaml new file mode 100644 index 000000000..997b79c3d --- /dev/null +++ b/model/java/config/commons-io-commons-io-2.15.1.yaml @@ -0,0 +1,17 @@ +passThrough: +- function: org.apache.commons.io.IOUtils#toString + copy: + - from: arg(0) + to: result +- function: org.apache.commons.io.IOUtils#toByteArray + copy: + - from: arg(0) + to: result +- function: org.apache.commons.io.IOUtils#toCharArray + copy: + - from: arg(0) + to: result +- function: org.apache.commons.io.IOUtils#readLines + copy: + - from: arg(0) + to: result diff --git a/model/java/config/groovy-3.0.21.yaml b/model/java/config/groovy-3.0.21.yaml new file mode 100644 index 000000000..fc399f6d1 --- /dev/null +++ b/model/java/config/groovy-3.0.21.yaml @@ -0,0 +1,36 @@ +passThrough: +- function: org.codehaus.groovy.control.CompilationUnit#addSource + signature: (java.io.File) * + copy: + - from: arg(0) + to: + - this + - .org.codehaus.groovy.control.CompilationUnit#source#java.lang.Object +- function: org.codehaus.groovy.control.CompilationUnit#addSource + signature: (java.net.URL) * + copy: + - from: arg(0) + to: + - this + - .org.codehaus.groovy.control.CompilationUnit#source#java.lang.Object +- function: org.codehaus.groovy.control.CompilationUnit#addSource + signature: (java.lang.String, java.io.InputStream) * + copy: + - from: arg(1) + to: + - this + - .org.codehaus.groovy.control.CompilationUnit#source#java.lang.Object +- function: org.codehaus.groovy.control.CompilationUnit#addSource + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(1) + to: + - this + - .org.codehaus.groovy.control.CompilationUnit#source#java.lang.Object +- function: org.codehaus.groovy.control.CompilationUnit#addSource + signature: (org.codehaus.groovy.control.SourceUnit) * + copy: + - from: arg(0) + to: + - this + - .org.codehaus.groovy.control.CompilationUnit#source#java.lang.Object diff --git a/model/java/config/jenkins-core-2.426.3.yaml b/model/java/config/jenkins-core-2.426.3.yaml new file mode 100644 index 000000000..83506cce8 --- /dev/null +++ b/model/java/config/jenkins-core-2.426.3.yaml @@ -0,0 +1,22 @@ +passThrough: +- function: hudson.FilePath# + signature: (hudson.remoting.VirtualChannel, java.lang.String) * + copy: + - from: arg(1) + to: + - this + - .hudson.FilePath#path#java.lang.Object +- function: hudson.FilePath# + signature: (java.io.File) * + copy: + - from: arg(0) + to: + - this + - .hudson.FilePath#path#java.lang.Object +- function: hudson.FilePath# + signature: (hudson.FilePath, java.lang.String) * + copy: + - from: arg(1) + to: + - this + - .hudson.FilePath#path#java.lang.Object diff --git a/model/java/config/mvel2-2.5.2.Final.yaml b/model/java/config/mvel2-2.5.2.Final.yaml new file mode 100644 index 000000000..0cfd91d30 --- /dev/null +++ b/model/java/config/mvel2-2.5.2.Final.yaml @@ -0,0 +1,21 @@ +passThrough: +- function: org.mvel2.MVEL#compileExpression + copy: + - from: arg(0) + to: result +- function: org.mvel2.MVEL#compileSetExpression + copy: + - from: arg(0) + to: result +- function: org.mvel2.MVEL#compileGetExpression + copy: + - from: arg(0) + to: result +- function: org.mvel2.jsr223.MvelScriptEngine#compile + copy: + - from: arg(0) + to: result +- function: org.mvel2.jsr223.MvelScriptEngine#compiledScript + copy: + - from: arg(0) + to: result diff --git a/model/java/config/okhttp-4.12.0.yaml b/model/java/config/okhttp-4.12.0.yaml new file mode 100644 index 000000000..e986be627 --- /dev/null +++ b/model/java/config/okhttp-4.12.0.yaml @@ -0,0 +1,166 @@ +passThrough: +- function: okhttp3.Request$Builder#url + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#header + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(1) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(1) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#addHeader + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(1) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(1) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#headers + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#post + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#put + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#patch + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#delete + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#method + signature: (java.lang.String, okhttp3.RequestBody) * + copy: + - from: arg(0) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(1) + to: + - result + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: arg(1) + to: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + - from: this + to: result +- function: okhttp3.Request$Builder#get + copy: + - from: this + to: result +- function: okhttp3.Request$Builder#head + copy: + - from: this + to: result +- function: okhttp3.Request$Builder#removeHeader + copy: + - from: this + to: result +- function: okhttp3.Request$Builder#cacheControl + copy: + - from: this + to: result +- function: okhttp3.Request$Builder#tag + copy: + - from: this + to: result +- function: okhttp3.Request$Builder#build + copy: + - from: this + to: result + - from: + - this + - .okhttp3.Request$Builder#url#java.lang.Object + to: + - result + - .okhttp3.Request#url#java.lang.Object diff --git a/model/java/config/org.apache.httpcomponents.core5-httpcore5-5.2.4.yaml b/model/java/config/org.apache.httpcomponents.core5-httpcore5-5.2.4.yaml new file mode 100644 index 000000000..7750eb749 --- /dev/null +++ b/model/java/config/org.apache.httpcomponents.core5-httpcore5-5.2.4.yaml @@ -0,0 +1,43 @@ +passThrough: +- function: org.apache.hc.core5.http.io.entity.StringEntity# + signature: (java.lang.String) * + copy: + - from: arg(0) + to: + - this + - .org.apache.hc.core5.http.io.entity.StringEntity#content#java.lang.Object +- function: org.apache.hc.core5.http.io.entity.StringEntity# + signature: (java.lang.String, org.apache.hc.core5.http.ContentType) * + copy: + - from: arg(0) + to: + - this + - .org.apache.hc.core5.http.io.entity.StringEntity#content#java.lang.Object +- function: org.apache.hc.core5.http.io.entity.StringEntity# + signature: (java.lang.String, java.nio.charset.Charset) * + copy: + - from: arg(0) + to: + - this + - .org.apache.hc.core5.http.io.entity.StringEntity#content#java.lang.Object +- function: org.apache.hc.core5.http.io.entity.StringEntity# + signature: (java.lang.String, org.apache.hc.core5.http.ContentType, boolean) * + copy: + - from: arg(0) + to: + - this + - .org.apache.hc.core5.http.io.entity.StringEntity#content#java.lang.Object +- function: org.apache.hc.core5.http.io.entity.StringEntity# + signature: (java.lang.String, java.nio.charset.Charset, boolean) * + copy: + - from: arg(0) + to: + - this + - .org.apache.hc.core5.http.io.entity.StringEntity#content#java.lang.Object +- function: org.apache.hc.core5.http.io.entity.StringEntity# + signature: (java.lang.String, org.apache.hc.core5.http.ContentType, java.lang.String, boolean) * + copy: + - from: arg(0) + to: + - this + - .org.apache.hc.core5.http.io.entity.StringEntity#content#java.lang.Object diff --git a/model/java/config/org.apache.velocity-velocity-engine-core-2.3.yaml b/model/java/config/org.apache.velocity-velocity-engine-core-2.3.yaml new file mode 100644 index 000000000..d78915169 --- /dev/null +++ b/model/java/config/org.apache.velocity-velocity-engine-core-2.3.yaml @@ -0,0 +1,19 @@ +passThrough: +- function: org.apache.velocity.context.Context#put + copy: + - from: arg(1) + to: + - this + - .org.apache.velocity.context.Context#value#java.lang.Object +- function: org.apache.velocity.VelocityContext#put + copy: + - from: arg(1) + to: + - this + - .org.apache.velocity.context.Context#value#java.lang.Object +- function: org.apache.velocity.context.AbstractContext#put + copy: + - from: arg(1) + to: + - this + - .org.apache.velocity.context.Context#value#java.lang.Object diff --git a/model/java/config/org.springframework.ldap-spring-ldap-core-2.4.1.yaml b/model/java/config/org.springframework.ldap-spring-ldap-core-2.4.1.yaml new file mode 100644 index 000000000..d1d3a426d --- /dev/null +++ b/model/java/config/org.springframework.ldap-spring-ldap-core-2.4.1.yaml @@ -0,0 +1,305 @@ +passThrough: +- function: org.springframework.ldap.query.LdapQueryBuilder#base + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.LdapQueryBuilder#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.LdapQueryBuilder#filter#java.lang.Object + - from: this + to: result +- function: org.springframework.ldap.query.LdapQueryBuilder#where + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.LdapQueryBuilder#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.LdapQueryBuilder#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.LdapQueryBuilder#filter + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.LdapQuery#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.LdapQueryBuilder#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.LdapQueryBuilder#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.LdapQuery#filter#java.lang.Object +- function: org.springframework.ldap.query.ConditionCriteria#is + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.ConditionCriteria#like + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.ConditionCriteria#whitespaceWildcardsLike + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.ConditionCriteria#gte + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.ConditionCriteria#lte + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.ConditionCriteria#not + copy: + - from: this + to: result +- function: org.springframework.ldap.query.LdapQueryBuilder#searchScope + copy: + - from: this + to: result +- function: org.springframework.ldap.query.LdapQueryBuilder#countLimit + copy: + - from: this + to: result +- function: org.springframework.ldap.query.LdapQueryBuilder#timeLimit + copy: + - from: this + to: result +- function: org.springframework.ldap.query.LdapQueryBuilder#attributes + copy: + - from: this + to: result +- function: org.springframework.ldap.query.ContainerCriteria#and + copy: + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.ContainerCriteria#or + copy: + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultConditionCriteria#is + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultConditionCriteria#like + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultConditionCriteria#whitespaceWildcardsLike + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultConditionCriteria#gte + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultConditionCriteria#lte + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultConditionCriteria#not + copy: + - from: this + to: result +- function: org.springframework.ldap.query.DefaultContainerCriteria#and + copy: + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultContainerCriteria#or + copy: + - from: this + to: result + - from: + - this + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + to: + - result + - .org.springframework.ldap.query.ConditionCriteria#filter#java.lang.Object +- function: org.springframework.ldap.query.DefaultContainerCriteria#append + copy: + - from: arg(0) + to: + - result + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: arg(0) + to: + - this + - .org.springframework.ldap.query.ContainerCriteria#filter#java.lang.Object + - from: this + to: result diff --git a/model/java/config/spring-jdbc-5.3.39.yaml b/model/java/config/spring-jdbc-5.3.39.yaml new file mode 100644 index 000000000..caeca73fe --- /dev/null +++ b/model/java/config/spring-jdbc-5.3.39.yaml @@ -0,0 +1,13 @@ +passThrough: +- function: org.springframework.jdbc.core.namedparam.NamedParameterUtils#parseSqlStatement + copy: + - from: arg(0) + to: result +- function: org.springframework.jdbc.core.namedparam.NamedParameterUtils#substituteNamedParameters + copy: + - from: arg(0) + to: result +- function: org.springframework.jdbc.core.namedparam.NamedParameterUtils#parseSqlStatementIntoString + copy: + - from: arg(0) + to: result diff --git a/model/java/config/spring-web-7.0.2.yaml b/model/java/config/spring-web-7.0.2.yaml index 569f99c5b..b8e9a210a 100644 --- a/model/java/config/spring-web-7.0.2.yaml +++ b/model/java/config/spring-web-7.0.2.yaml @@ -1056,3 +1056,241 @@ passThrough: - this - .org.springframework.web.context.request.async.DeferredResult#Result#java.lang.Object to: result +- function: org.springframework.http.HttpHeaders#get + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getFirst + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getValuesAsList + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getOrDefault + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getOrEmpty + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getAccept + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getAcceptPatch + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getAccessControlAllowHeaders + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getAccessControlAllowOrigin + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getAccessControlExposeHeaders + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getAccessControlRequestHeaders + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getCacheControl + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getConnection + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getETag + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getIfMatch + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getIfNoneMatch + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getOrigin + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getPragma + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getUpgrade + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getVary + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String + to: result + - from: + - this + - .org.springframework.http.HttpHeaders#headerValues#java.util.List + to: result +- function: org.springframework.http.HttpHeaders#getContentType + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#contentType#org.springframework.http.MediaType + to: result +- function: org.springframework.http.HttpHeaders#getHost + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#host#java.net.InetSocketAddress + to: result +- function: org.springframework.http.HttpHeaders#getContentDisposition + copy: + - from: + - this + - .org.springframework.http.HttpHeaders#contentDisposition#org.springframework.http.ContentDisposition + to: result +- function: org.springframework.http.HttpHeaders#set + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(1) + to: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String +- function: org.springframework.http.HttpHeaders#add + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(1) + to: + - this + - .org.springframework.http.HttpHeaders#headerValue#java.lang.String +- function: org.springframework.http.RequestEntity#getUrl + copy: + - from: + - this + - .org.springframework.http.RequestEntity#url#java.net.URI + to: result diff --git a/model/java/config/stdlib/java-net-http.yaml b/model/java/config/stdlib/java-net-http.yaml new file mode 100644 index 000000000..99b6319ec --- /dev/null +++ b/model/java/config/stdlib/java-net-http.yaml @@ -0,0 +1,153 @@ +passThrough: +- function: java.net.http.HttpRequest#newBuilder + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object +- function: java.net.http.HttpRequest$Builder#uri + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#header + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(1) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(1) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#headers + signature: (java.lang.String[]) * + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#setHeader + signature: (java.lang.String, java.lang.String) * + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(1) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(1) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#POST + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#PUT + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#method + signature: (java.lang.String, java.net.http.HttpRequest$BodyPublisher) * + copy: + - from: arg(0) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(1) + to: + - result + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(0) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: arg(1) + to: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#DELETE + copy: + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#GET + copy: + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#timeout + copy: + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#version + copy: + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#expectContinue + copy: + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#copy + copy: + - from: this + to: result +- function: java.net.http.HttpRequest$Builder#build + copy: + - from: this + to: result + - from: + - this + - .java.net.http.HttpRequest$Builder#url#java.lang.Object + to: + - result + - .java.net.http.HttpRequest#url#java.lang.Object diff --git a/model/java/config/stdlib/java-util.yaml b/model/java/config/stdlib/java-util.yaml index 31a7e14a7..886c2343c 100644 --- a/model/java/config/stdlib/java-util.yaml +++ b/model/java/config/stdlib/java-util.yaml @@ -6277,3 +6277,15 @@ passThrough: to: - this - .java.util.StringJoiner##java.lang.Object +- function: java.util.Base64$Encoder#encodeToString + copy: + - from: arg(0) + to: result +- function: java.util.Base64$Encoder#encode + copy: + - from: arg(0) + to: result +- function: java.util.Base64$Decoder#wrap + copy: + - from: arg(0) + to: result diff --git a/model/java/config/stdlib/javax-management-remote.yaml b/model/java/config/stdlib/javax-management-remote.yaml new file mode 100644 index 000000000..c965978e2 --- /dev/null +++ b/model/java/config/stdlib/javax-management-remote.yaml @@ -0,0 +1,40 @@ +passThrough: +- function: javax.management.remote.JMXServiceURL# + signature: (java.lang.String) * + copy: + - from: arg(0) + to: + - this + - .javax.management.remote.JMXServiceURL#url#java.lang.Object +- function: javax.management.remote.JMXServiceURL# + signature: (java.lang.String, java.lang.String, int) * + copy: + - from: arg(0) + to: + - this + - .javax.management.remote.JMXServiceURL#url#java.lang.Object + - from: arg(1) + to: + - this + - .javax.management.remote.JMXServiceURL#url#java.lang.Object +- function: javax.management.remote.JMXServiceURL# + signature: (java.lang.String, java.lang.String, int, java.lang.String) * + copy: + - from: arg(0) + to: + - this + - .javax.management.remote.JMXServiceURL#url#java.lang.Object + - from: arg(1) + to: + - this + - .javax.management.remote.JMXServiceURL#url#java.lang.Object + - from: arg(3) + to: + - this + - .javax.management.remote.JMXServiceURL#url#java.lang.Object +- function: javax.management.remote.JMXConnectorFactory#newJMXConnector + copy: + - from: arg(0) + to: + - result + - .javax.management.remote.JMXConnector#url#java.lang.Object diff --git a/model/java/config/unboundid-ldapsdk-6.0.11.yaml b/model/java/config/unboundid-ldapsdk-6.0.11.yaml new file mode 100644 index 000000000..be38120c6 --- /dev/null +++ b/model/java/config/unboundid-ldapsdk-6.0.11.yaml @@ -0,0 +1,166 @@ +passThrough: +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (java.lang.String, com.unboundid.ldap.sdk.SearchScope, java.lang.String, java.lang.String[]) * + copy: + - from: arg(0) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(2) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#filter#java.lang.Object + - from: arg(3) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(0) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(3) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.DN, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(3) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, java.lang.String, com.unboundid.ldap.sdk.SearchScope, java.lang.String, java.lang.String[]) * + copy: + - from: arg(1) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(3) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#filter#java.lang.Object + - from: arg(4) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(1) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(4) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, com.unboundid.ldap.sdk.DN, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(4) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, java.lang.String, java.lang.String[]) * + copy: + - from: arg(0) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(6) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#filter#java.lang.Object + - from: arg(7) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(0) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(7) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.DN, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(7) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, java.lang.String, java.lang.String[]) * + copy: + - from: arg(1) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(7) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#filter#java.lang.Object + - from: arg(8) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(1) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(8) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, com.unboundid.ldap.sdk.DN, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(8) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, com.unboundid.ldap.sdk.Control[], java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, java.lang.String, java.lang.String[]) * + copy: + - from: arg(2) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(8) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#filter#java.lang.Object + - from: arg(9) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, com.unboundid.ldap.sdk.Control[], java.lang.String, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(2) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#baseDN#java.lang.Object + - from: arg(9) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object +- function: com.unboundid.ldap.sdk.SearchRequest# + signature: (com.unboundid.ldap.sdk.SearchResultListener, com.unboundid.ldap.sdk.Control[], com.unboundid.ldap.sdk.DN, com.unboundid.ldap.sdk.SearchScope, com.unboundid.ldap.sdk.DereferencePolicy, int, int, boolean, com.unboundid.ldap.sdk.Filter, java.lang.String[]) * + copy: + - from: arg(9) + to: + - this + - .com.unboundid.ldap.sdk.SearchRequest#attributes#java.lang.Object