blob: 454bea99f2908725cb6b9db9966d6009b53d3c62 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.plugin.classanalysis
import org.objectweb.asm.{Type, Attribute}
/**
* @author tonytv
*/
private trait AttributeVisitorTrait {
protected val imports: ImportsSet
def visitAttribute(attribute: Attribute) {
imports ++= getClassName(Type.getObjectType(attribute.`type`)).toList
}
}
|