blob: 0603cebf5afe4a6fe43a9887ef632eda1a5cae56 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2016 Yahoo Inc. 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
}
}
|